aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-async-timeout-gns3/APKBUILD
blob: 6ab9427d8d29559f7f10c1125a0f451e6d52436a (plain) (blame)
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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-async-timeout-gns3
_pkgname=async-timeout
pkgver=3.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"
depends="python3 !py3-async-timeout"
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() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

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

sha512sums="fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986  py3-async-timeout-gns3-3.0.1.tar.gz"