aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-async-timeout-gns3
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-async-timeout-gns3')
-rw-r--r--community/py3-async-timeout-gns3/APKBUILD32
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"