aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"