# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-aiohttp-gns3 _pkgname=aiohttp pkgver=3.5.4 pkgrel=0 pkgdesc="HTTP client/server for asyncio - GNS3 compatible version" url="https://pypi.python.org/pypi/aiohttp" arch="all" license="Apache-2.0" depends="python3 py3-async-timeout-gns3 py3-chardet py3-multidict py3-yarl py3-idna-ssl py3-attrs !py3-aiohttp" makedepends="python3-dev py3-setuptools cython" source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { cd "$builddir" python3 setup.py build } check() { cd "$builddir" python3 setup.py check } package() { cd "$builddir" python3 setup.py install --root="$pkgdir" --optimize=1 } sha512sums="9bc31457029f7db5bbfe1e213c1f428bf90ac96d83b6d2c8838261a3910ab9f7632a4299618377acb1bed04b0cbb4b4f6d9ee814495c05f210ed9bb4f4c61714 py3-aiohttp-gns3-3.5.4.tar.gz"