# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-aiohttp _pkgname=aiohttp pkgver=2.0.1 pkgrel=0 pkgdesc="HTTP client/server for asyncio" url="http://pypi.python.org/pypi/aiohttp" arch="all" license="ASL 2.0" depends="python3 py3-async-timeout py3-chardet py3-multidict py3-yarl" makedepends="python3-dev" subpackages="$pkgname-dev" 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 || return 1 } package() { cd "$builddir" python3 setup.py install --root="$pkgdir" --optimize=1 || return 1 } sha512sums="49350c340bb44aa04de1618f8d8160c28dc48b48a5cd1db596936cf49872d9c38e5144a357db0118605d3eac7e69c428e68bd8dbbe589b52c74772379446dde6 py3-aiohttp-2.0.1.tar.gz"