python3-uvloop: update to 0.15.2.

This commit is contained in:
Andrew J. Hesford 2021-02-20 21:32:01 -05:00
parent c6bd423c68
commit b08f3709b6

View file

@ -1,6 +1,6 @@
# Template file for 'python3-uvloop'
pkgname=python3-uvloop
version=0.15.1
version=0.15.2
revision=1
wrksrc="${pkgname#*-}-${version}"
build_style=python3-module
@ -13,10 +13,12 @@ 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=a0aff7b8ca46b07c50f243a408351de05f731413acc37b9c25c560af824b08f5
checksum=31944b4258be55526a38059739e360e3c7e2f047c0ae922b6fca5d6d85a37085
do_check() {
PYTHONPATH="$(cd build/lib* && pwd)" python3 -m pytest -k 'not Test_UV_TCPSSL'
# For some reason, setting PYTHONPATH is not sufficient
cp build/lib*/uvloop/*.so uvloop
python3 -m pytest tests -k 'not Test_UV_TCPSSL'
}
post_patch() {