mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
python3-uvloop: update to 0.20.0.
This commit is contained in:
parent
c486815fab
commit
bd9f83c964
1 changed files with 8 additions and 11 deletions
|
@ -1,24 +1,21 @@
|
||||||
# Template file for 'python3-uvloop'
|
# Template file for 'python3-uvloop'
|
||||||
pkgname=python3-uvloop
|
pkgname=python3-uvloop
|
||||||
version=0.19.0
|
version=0.20.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=python3-module
|
build_style=python3-pep517
|
||||||
hostmakedepends="python3 python3-setuptools python3-Cython0.29"
|
make_check_target="../tests"
|
||||||
|
hostmakedepends="python3 python3-setuptools python3-wheel python3-Cython0.29"
|
||||||
makedepends="libuv-devel python3-devel"
|
makedepends="libuv-devel python3-devel"
|
||||||
depends="python3"
|
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"
|
short_desc="Fast replacement for Python asyncio event loop"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="Apache-2.0, MIT"
|
license="Apache-2.0, MIT"
|
||||||
homepage="https://github.com/MagicStack/uvloop"
|
homepage="https://github.com/MagicStack/uvloop"
|
||||||
distfiles="${homepage}/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=bf4f25fb5c15db61b641a2b048fa3865dd005a74621e9aeccac945c122bfb286
|
checksum=9fa2458b6aa280aa4268bc0054ef53cefb624463f2b5ff09db3ce406ea581f94
|
||||||
|
# Must not be in wrksrc to avoid failed imports from current directory
|
||||||
do_check() {
|
make_check_pre="env -C .xbps-testdir"
|
||||||
# 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)'
|
|
||||||
}
|
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
cat <<-EOF >> setup.cfg
|
cat <<-EOF >> setup.cfg
|
||||||
|
|
Loading…
Add table
Reference in a new issue