diff options
author | Andrew J. Hesford <ajh@sideband.org> | 2024-08-23 13:37:41 +0000 |
---|---|---|
committer | Andrew J. Hesford <ajh@sideband.org> | 2024-08-23 14:51:27 +0000 |
commit | bd9f83c9640fc3c4241473cbefa0492e6f1aecfc (patch) | |
tree | 9fcc09c02c66a7d26240a1836f0c17705d3a4aa9 | |
parent | c486815fab47e45d93af0e738fa7602db1f61c8d (diff) | |
download | void-packages-bd9f83c9640fc3c4241473cbefa0492e6f1aecfc.tar void-packages-bd9f83c9640fc3c4241473cbefa0492e6f1aecfc.tar.gz void-packages-bd9f83c9640fc3c4241473cbefa0492e6f1aecfc.tar.bz2 void-packages-bd9f83c9640fc3c4241473cbefa0492e6f1aecfc.tar.lz void-packages-bd9f83c9640fc3c4241473cbefa0492e6f1aecfc.tar.xz void-packages-bd9f83c9640fc3c4241473cbefa0492e6f1aecfc.tar.zst void-packages-bd9f83c9640fc3c4241473cbefa0492e6f1aecfc.zip |
python3-uvloop: update to 0.20.0.
-rw-r--r-- | srcpkgs/python3-uvloop/template | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/srcpkgs/python3-uvloop/template b/srcpkgs/python3-uvloop/template index 75e34b7add3..071d8431f8c 100644 --- a/srcpkgs/python3-uvloop/template +++ b/srcpkgs/python3-uvloop/template @@ -1,24 +1,21 @@ # Template file for 'python3-uvloop' pkgname=python3-uvloop -version=0.19.0 +version=0.20.0 revision=1 -build_style=python3-module -hostmakedepends="python3 python3-setuptools python3-Cython0.29" +build_style=python3-pep517 +make_check_target="../tests" +hostmakedepends="python3 python3-setuptools python3-wheel python3-Cython0.29" makedepends="libuv-devel python3-devel" depends="python3" -checkdepends="flake8 python3-pytest python3-openssl python3-psutil" +checkdepends="flake8 python3-pytest-xdist python3-openssl python3-psutil" short_desc="Fast replacement for Python asyncio event loop" maintainer="Andrew J. Hesford <ajh@sideband.org>" license="Apache-2.0, MIT" homepage="https://github.com/MagicStack/uvloop" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=bf4f25fb5c15db61b641a2b048fa3865dd005a74621e9aeccac945c122bfb286 - -do_check() { - # For some reason, setting PYTHONPATH is not sufficient - cp build/lib*/uvloop/*.so uvloop - python3 -m pytest tests -k 'not (Test_AIO_TCPSSL or Test_UV_libuv)' -} +checksum=9fa2458b6aa280aa4268bc0054ef53cefb624463f2b5ff09db3ce406ea581f94 +# Must not be in wrksrc to avoid failed imports from current directory +make_check_pre="env -C .xbps-testdir" post_patch() { cat <<-EOF >> setup.cfg |