23 lines
850 B
Bash
23 lines
850 B
Bash
# Template file for 'python3-aiohttp'
|
|
pkgname=python3-aiohttp
|
|
version=2.3.7
|
|
revision=1
|
|
wrksrc="aiohttp-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="aiohttp"
|
|
hostmakedepends="python3-setuptools python3-Cython"
|
|
makedepends="python3-devel"
|
|
checkdepends="python3-async-timeout python3-chardet python3-yarl python3-pytest
|
|
python3-multidict python3-pytest-mock"
|
|
depends="python3-async-timeout python3-chardet python3-yarl"
|
|
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=8e8a1fd47accc7164636dcfa45348d224b5963fbfc18c81416204a4c1e67916b
|
|
|
|
do_check() {
|
|
PYTHONPATH="${PWD}/build/lib.linux-${XBPS_TARGET_MACHINE}-3.6" python3 -m pytest
|
|
}
|