diff --git a/srcpkgs/python3-aiohttp/template b/srcpkgs/python3-aiohttp/template index 81ec1038c1b..ab0985c720f 100644 --- a/srcpkgs/python3-aiohttp/template +++ b/srcpkgs/python3-aiohttp/template @@ -1,15 +1,12 @@ # Template file for 'python3-aiohttp' pkgname=python3-aiohttp -reverts="3.4.0" -version=3.3.2 -revision=2 +version=3.4.1 +revision=1 wrksrc="aiohttp-${version}" build_style=python3-module pycompile_module="aiohttp" hostmakedepends="python3-Cython python3-setuptools" -makedepends="python3-devel" -checkdepends="python3-async-timeout python3-async_generator python3-chardet - python3-idna-ssl python3-pytest-mock python3-yarl" +makedepends="python3-devel http-parser-devel" depends="python3-async-timeout python3-attrs python3-chardet python3-idna-ssl python3-yarl" short_desc="HTTP client/server for asyncio (PEP-3156)" @@ -18,8 +15,10 @@ license="Apache-2.0" #changelog="https://raw.githubusercontent.com/aio-libs/aiohttp/master/CHANGES.rst" homepage="https://aiohttp.readthedocs.io/" distfiles="https://github.com/aio-libs/aiohttp/archive/v${version}.tar.gz" -checksum=edcc93ab19880068ce460542810bdb1ee55a834184765380fd3be343a8f107d7 +checksum=06c6afad7c039b9e1f4dff19f87d0bcaeededeb7269a72695af59930b30288ad -do_check() { - python3 setup.py test +pre_build() { + # use system http-parser + sed -i '/http_parser\.c/d' setup.py + sed -i '/http_parser\.h/s/".*\//"/' aiohttp/_cparser.pxd }