# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-aiohttp _pkgname=aiohttp pkgver=3.0.1 pkgrel=1 pkgdesc="HTTP client/server for asyncio" url="https://pypi.python.org/pypi/aiohttp" arch="all" license="Apache-2.0" depends="python3 py3-async-timeout py3-chardet py3-multidict py3-yarl py3-idna-ssl py3-attrs" makedepends="python3-dev py3-setuptools" 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 } check() { cd "$builddir" python3 setup.py check } package() { cd "$builddir" python3 setup.py install --root="$pkgdir" --optimize=1 } sha512sums="5910fcdeef2c4742e69a6baff163da5846e3f39cf0e7a6b4ebdedb6afac7fb4ed63504dc604935847d990eb20d79c44820143dc9efe1b0339bb56bbb80cd09cd py3-aiohttp-3.0.1.tar.gz"