# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-aiohttp-cors _pkgname=aiohttp_cors pkgver=0.5.1 pkgrel=0 pkgdesc="CORS support for aiohttp" url="https://github.com/aio-libs/aiohttp-cors" arch="noarch" license="ASL 2.0" depends="py3-aiohttp" 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 build() { cd "$builddir" python3 setup.py build || return 1 } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="a06f65a479bbed50022394d51345e08bdf98a099f4b6efe355f4a4762155a564eee3d4e10ddb417daa7498ebc1abb93a3437b1a2cc6af9c2ad5fe8a8714c237c aiohttp_cors-0.5.1.tar.gz"