diff --git a/srcpkgs/python3-aiohttp2/template b/srcpkgs/python3-aiohttp2/template new file mode 100644 index 00000000000..6b75bbad015 --- /dev/null +++ b/srcpkgs/python3-aiohttp2/template @@ -0,0 +1,26 @@ +# Template file for 'python3-aiohttp2' +pkgname=python3-aiohttp2 +version=2.3.10 +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" +depends="python3-async-timeout python3-attrs python3-chardet python3-idna-ssl + python3-yarl" +short_desc="HTTP client/server for asyncio (PEP-3156)" +maintainer="Michael Aldridge " +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=ca3c15aa2c178599393919c27dbada24860e075d501257db54d6547ecf34bac8 +conflicts=python3-aiohttp +replaces="python3-aiohttp>=0" + +do_check() { + python3 setup.py test +}