community/py3-aiohttp-cors: moved from testing, upgraded to 0.5.3

This commit is contained in:
Francesco Colista 2017-05-03 08:18:17 +00:00
parent d37a726931
commit b126ef3a09

View File

@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-aiohttp-cors
_pkgname=aiohttp_cors
pkgver=0.5.1
pkgver=0.5.3
pkgrel=0
pkgdesc="CORS support for aiohttp"
url="https://github.com/aio-libs/aiohttp-cors"
@ -13,6 +13,11 @@ makedepends="python3-dev"
source="$_pkgname-$pkgver.tar.gz::https://github.com/aio-libs/aiohttp-cors/archive/v$pkgver.tar.gz"
builddir="$srcdir"/aiohttp-cors-$pkgver
check() {
cd "$builddir"
python3 setup.py check
}
build() {
cd "$builddir"
python3 setup.py build || return 1
@ -23,4 +28,4 @@ package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="a06f65a479bbed50022394d51345e08bdf98a099f4b6efe355f4a4762155a564eee3d4e10ddb417daa7498ebc1abb93a3437b1a2cc6af9c2ad5fe8a8714c237c aiohttp_cors-0.5.1.tar.gz"
sha512sums="0813ea48de714c85e361dfdaeef1a69526f7446dcc4ce637139cd333dedea58c635f85cfad1c3ccfb0df6e573f0351f282fdbd9726211d5915ed2ba120206b09 aiohttp_cors-0.5.3.tar.gz"