# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-aiohttp _pkgname=aiohttp pkgver=0.22.1 pkgrel=2 pkgdesc="HTTP client/server for asyncio" url="http://pypi.python.org/pypi/aiohttp" arch="all" license="ASL 2.0" depends="python3 py3-chardet py3-multidict" depends_dev="" makedepends="$depends_dev py-setuptools python3-dev" install="" subpackages="$pkgname-dev" source="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 } package() { cd "$builddir" python3 setup.py install --root="$pkgdir" --optimize=1 || return 1 } md5sums="2ec9d5ad9612fa617beb92f2ef43d97f aiohttp-0.22.1.tar.gz" sha256sums="19e6c67ea9dea962c0b8404813b41039a4b3a17cfb410d6991de0b47d9f0d544 aiohttp-0.22.1.tar.gz" sha512sums="61b92268d1155e38dc282f10a40c47deefbef27aa561273cefdaa1529173fa1de5db47218feb4d82be7462f7787859ead8cd6272f8e1cbf2f817f740c6489b73 aiohttp-0.22.1.tar.gz"