aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 11:58:31 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-08-19 13:00:03 +0000
commitc4acb05b9fb26a9039feaa16c2ffa767d515ed4f (patch)
tree43b0a10d3d7d005afe986e456c2c18a21f96d308 /community/py3-aiohttp
parent5e04977dfe7dbd9eb4c6cbcf8f55fa0b72dca742 (diff)
downloadaports-c4acb05b9fb26a9039feaa16c2ffa767d515ed4f.tar.bz2
aports-c4acb05b9fb26a9039feaa16c2ffa767d515ed4f.tar.xz
community/py3-aiohttp: upgrade to 0.22.5. Moved from testing
Diffstat (limited to 'community/py3-aiohttp')
-rw-r--r--community/py3-aiohttp/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/community/py3-aiohttp/APKBUILD b/community/py3-aiohttp/APKBUILD
new file mode 100644
index 0000000000..0e0b4498de
--- /dev/null
+++ b/community/py3-aiohttp/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=py3-aiohttp
+_pkgname=aiohttp
+pkgver=0.22.5
+pkgrel=0
+pkgdesc="HTTP client/server for asyncio"
+url="http://pypi.python.org/pypi/aiohttp"
+arch="all"
+license="ASL 2.0"
+depends="python3 py3-chardet py3-multidict"
+depends_dev=""
+makedepends="$depends_dev py-setuptools python3-dev"
+install=""
+subpackages="$pkgname-dev"
+source="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 || return
+}
+
+package() {
+ cd "$builddir"
+ python3 setup.py install --root="$pkgdir" --optimize=1 || return 1
+}
+
+md5sums="8541b6085fee8f8b51e0144df6470186 aiohttp-0.22.5.tar.gz"
+sha256sums="9c51af030c866f91e18a219614e39d345db4483ed9860389d0536d74d04b0d3b aiohttp-0.22.5.tar.gz"
+sha512sums="919818445590b386b40edd05e8a58fac0b1b2993fe82faf95e10b53b5c0b3b464e92ea2484bc1929cb737351f3629b77a4ff67788248e19d69eb638bbf44a5e3 aiohttp-0.22.5.tar.gz"