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