diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2018-05-23 15:58:03 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2018-05-23 15:58:03 +0000 |
commit | e42ef1322e5116ddb6bc166ded1360644a200e0d (patch) | |
tree | a0b9b6573714987804edb45a89ed14bf5b245bd3 /community/py3-async-timeout-gns3 | |
parent | 8daee673d2aafa66c2d45498783cd09fb9b13df8 (diff) | |
download | aports-e42ef1322e5116ddb6bc166ded1360644a200e0d.tar.bz2 aports-e42ef1322e5116ddb6bc166ded1360644a200e0d.tar.xz |
community/py3-async-timeout-gns3: new aport needed by GNS3
Diffstat (limited to 'community/py3-async-timeout-gns3')
-rw-r--r-- | community/py3-async-timeout-gns3/APKBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/community/py3-async-timeout-gns3/APKBUILD b/community/py3-async-timeout-gns3/APKBUILD new file mode 100644 index 0000000000..6c8720bdaa --- /dev/null +++ b/community/py3-async-timeout-gns3/APKBUILD @@ -0,0 +1,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" +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" |