void-packages/srcpkgs/python3-aiohttp/template

24 lines
832 B
Bash

# Template file for 'python3-aiohttp'
pkgname=python3-aiohttp
version=3.1.0
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-chardet python3-idna-ssl
python3-pytest-mock python3-yarl python3-async_generator"
depends="python3-async-timeout python3-chardet python3-idna-ssl python3-yarl
python3-attrs"
short_desc="HTTP client/server for asyncio (PEP-3156)"
maintainer="Michael Aldridge <maldridge@VoidLinux.eu>"
license="Apache-2.0"
homepage="https://aiohttp.readthedocs.io/"
distfiles="https://github.com/aio-libs/aiohttp/archive/v${version}.tar.gz"
checksum=d0ce09d8e6363065872ca6c88b130eb805245a0bad15de9738c3b533b8da040e
do_check() {
python3 setup.py test
}