aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiofiles
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-10-02 14:00:57 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-10-03 07:21:10 +0000
commit729dc784d7b83caef613ff63d353bd9b6638babd (patch)
tree0acff0f669e9986180a78c0e302be45fdb42a779 /community/py3-aiofiles
parentda2fc76d90d31c84b08a6476b74562ac2baa8a66 (diff)
downloadaports-729dc784d7b83caef613ff63d353bd9b6638babd.tar.bz2
aports-729dc784d7b83caef613ff63d353bd9b6638babd.tar.xz
community/py3-aiofiles: new aport - new dependency for GNS3 2.2.0
Diffstat (limited to 'community/py3-aiofiles')
-rw-r--r--community/py3-aiofiles/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-aiofiles/APKBUILD b/community/py3-aiofiles/APKBUILD
new file mode 100644
index 0000000000..8233ae476b
--- /dev/null
+++ b/community/py3-aiofiles/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname="py3-aiofiles"
+_pkgname=aiofiles
+pkgver=0.4.0
+pkgrel=0
+pkgdesc="File support for asyncio"
+url="https://pypi.org/project/aiofiles"
+arch="noarch"
+license="Apache-2.0"
+depends="python3"
+makedepends="python3-dev py3-setuptools"
+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" --optimize=1
+}
+
+sha512sums="9e1f8b2beb3ca2996b35de9281ceafbb8ccdeab4b213f9605cb5908558c5f495d1cf4481ac229ca44bb236ad99826d89d137ec6ac4386c23b6e056b657a6bf4a py3-aiofiles-0.4.0.tar.gz"