void-packages/srcpkgs/python3-aiohttp/template

22 lines
794 B
Bash

# Template file for 'python3-aiohttp'
pkgname=python3-aiohttp
version=3.9.1
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools python3-wheel"
makedepends="python3-devel http-parser-devel"
depends="python3-aiosignal python3-async-timeout python3-attrs
python3-chardet python3-yarl python3-typing_extensions python3-multidict"
short_desc="HTTP client/server for asyncio (PEP-3156)"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="Apache-2.0"
homepage="https://aiohttp.readthedocs.io/"
distfiles="${PYPI_SITE}/a/aiohttp/aiohttp-${version}.tar.gz"
checksum=8fc49a87ac269d4529da45871e2ffb6874e87779c3d0e2ccd813c0899221239d
make_check=no # Depends on proxy.py and re_assert
post_patch() {
# use system http-parser
vsed -i '/http_parser\.c/d' -i setup.py
}