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