python3-pyzmq: update to 25.0.0.

This commit is contained in:
Andrew J. Hesford 2023-01-16 11:39:23 -05:00
parent d64ebd0b7a
commit 9018d70b1c

View file

@ -1,20 +1,20 @@
# Template file for 'python3-pyzmq' # Template file for 'python3-pyzmq'
pkgname=python3-pyzmq pkgname=python3-pyzmq
version=24.0.1 version=25.0.0
revision=2 revision=1
build_style=python3-module build_style=python3-module
make_build_args="--zmq=${XBPS_CROSS_BASE}/usr" make_build_args="--zmq=${XBPS_CROSS_BASE}/usr"
hostmakedepends="python3-setuptools python3-packaging" hostmakedepends="python3-setuptools python3-packaging"
makedepends="zeromq-devel python3-devel" makedepends="zeromq-devel python3-devel"
depends="python3" depends="python3"
checkdepends="python3-pytest-xdist" checkdepends="python3-pytest python3-pytest-asyncio"
short_desc="Python3 bindings for the ZeroMQ messaging library" short_desc="Python3 bindings for the ZeroMQ messaging library"
maintainer="Andrew J. Hesford <ajh@sideband.org>" maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="LGPL-3.0-or-later, BSD-3-Clause" license="LGPL-3.0-or-later, BSD-3-Clause"
homepage="https://pyzmq.readthedocs.io/" homepage="https://pyzmq.readthedocs.io/"
changelog="https://pyzmq.readthedocs.io/en/latest/changelog.html" changelog="https://pyzmq.readthedocs.io/en/latest/changelog.html"
distfiles="${PYPI_SITE}/p/pyzmq/pyzmq-${version}.tar.gz" distfiles="${PYPI_SITE}/p/pyzmq/pyzmq-${version}.tar.gz"
checksum=216f5d7dbb67166759e59b0479bca82b8acf9bed6015b526b8eb10143fb08e77 checksum=f330a1a2c7f89fd4b0aa4dcb7bf50243bf1c8da9a2f1efc31daf57a2046b31f2
pre_build() { pre_build() {
cat > setup.cfg <<-EOF cat > setup.cfg <<-EOF
@ -24,8 +24,13 @@ pre_build() {
} }
do_check() { do_check() {
(cd build/lib* && \ (
python3 -m pytest -n $XBPS_MAKEJOBS zmq/tests -k 'not test_cython') cd build/lib* && \
python3 -m pytest zmq/tests \
-k 'not test_cython' \
--ignore zmq/tests/test_auth.py \
--ignore zmq/tests/test_zmqstream.py
)
} }
post_install() { post_install() {