From e42ef1322e5116ddb6bc166ded1360644a200e0d Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 23 May 2018 15:58:03 +0000 Subject: community/py3-async-timeout-gns3: new aport needed by GNS3 --- community/py3-async-timeout-gns3/APKBUILD | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 community/py3-async-timeout-gns3/APKBUILD (limited to 'community/py3-async-timeout-gns3') 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 +# Maintainer: Francesco Colista +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" -- cgit v1.2.3