aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-async-timeout-gns3/APKBUILD
blob: c95ce181f5e08122b27f1ef7fb6de8b6e91fe942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-async-timeout-gns3
_pkgname=async-timeout
pkgver=2.0.1
pkgrel=0
pkgdesc="Timeout context manager for asyncio programs - GNS3 compatible version"
url="https://pypi.python.org/pypi/async_timeout"
arch="noarch"
license="Apache-2.0"
conflict="py3-async-timeout"
depends="python3"
makedepends="python3-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir"
}

sha512sums="cb66bdc286082ef5570a7e3aa420434f82bb4131e9527c499c693a21d72b3f3772922c0ce2ad68e7de5f95960061e508effda56be398356ea75d55272f534a86  py3-async-timeout-gns3-2.0.1.tar.gz"