aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiohttp/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2017-04-13 06:45:31 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2017-04-13 06:45:37 +0000
commita3cd9441072d774449b3fb918a3b5fe5489a7466 (patch)
treecd36d9c969c515934e6a678cf276d8cd39ac878b /community/py3-aiohttp/APKBUILD
parent82d882d35bfa922a33a50428c0a5d40b113dc6ee (diff)
downloadaports-a3cd9441072d774449b3fb918a3b5fe5489a7466.tar.gz
aports-a3cd9441072d774449b3fb918a3b5fe5489a7466.tar.bz2
aports-a3cd9441072d774449b3fb918a3b5fe5489a7466.tar.xz
community/py3-aiohttp: upgrade to 2.0.7, modernize APKBUILD
Diffstat (limited to 'community/py3-aiohttp/APKBUILD')
-rw-r--r--community/py3-aiohttp/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/py3-aiohttp/APKBUILD b/community/py3-aiohttp/APKBUILD
index 90f0f5347f..78e44c6bee 100644
--- a/community/py3-aiohttp/APKBUILD
+++ b/community/py3-aiohttp/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py3-aiohttp
_pkgname=aiohttp
-pkgver=2.0.6
+pkgver=2.0.7
pkgrel=0
pkgdesc="HTTP client/server for asyncio"
url="http://pypi.python.org/pypi/aiohttp"
@@ -14,14 +14,19 @@ subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
+check() {
+ cd "$builddir"
+ python3 setup.py check
+}
+
build() {
cd "$builddir"
- python3 setup.py build || return 1
+ python3 setup.py build
}
package() {
cd "$builddir"
- python3 setup.py install --root="$pkgdir" --optimize=1 || return 1
+ python3 setup.py install --root="$pkgdir" --optimize=1
}
-sha512sums="1ff93460793bc25906bdcb6fe393f45035033243c109ad2986e4e995e6bb4bd900671798c8ccf0fd38ffaa57be040b168c0b58f7989b0ca7168bea08cd93f58e py3-aiohttp-2.0.6.tar.gz"
+sha512sums="b16564f254ced6356fc4a49894fd85ba230b0382f2b83a12930f8c434e9175954248d8501c1a3a84ac1135a680581f36705ebd602db1589192ba073cf837edf2 py3-aiohttp-2.0.7.tar.gz"