diff --git a/srcpkgs/python3-pyzmq/template b/srcpkgs/python3-pyzmq/template index 75e86b18565..26f770fa6a1 100644 --- a/srcpkgs/python3-pyzmq/template +++ b/srcpkgs/python3-pyzmq/template @@ -1,35 +1,23 @@ # Template file for 'python3-pyzmq' pkgname=python3-pyzmq -version=25.1.2 +version=26.0.2 revision=1 -build_style=python3-module -make_build_args="--zmq=${XBPS_CROSS_BASE}/usr" -hostmakedepends="python3-setuptools python3-packaging" +build_style=python3-pep517 +make_check_target=".xbps-testdir/*/${py3_sitelib}/zmq/tests" +hostmakedepends="python3-scikit-build-core python3-Cython ninja" makedepends="zeromq-devel python3-devel" depends="python3" checkdepends="python3-pytest python3-pytest-asyncio" short_desc="Python3 bindings for the ZeroMQ messaging library" maintainer="Andrew J. Hesford " -license="LGPL-3.0-or-later, BSD-3-Clause" +license="BSD-3-Clause" homepage="https://pyzmq.readthedocs.io/" changelog="https://pyzmq.readthedocs.io/en/latest/changelog.html" distfiles="${PYPI_SITE}/p/pyzmq/pyzmq-${version}.tar.gz" -checksum=93f1aa311e8bb912e34f004cf186407a4e90eec4f0ecc0efd26056bf7eda0226 +checksum=f0f9bb370449158359bb72a3e12c658327670c0ffe6fbcd1af083152b64f9df0 -pre_build() { - cat > setup.cfg <<-EOF - [global] - skip_check_zmq = True - EOF -} - -do_check() { - cd build/lib* - python3 -m pytest zmq/tests -k 'not test_cython' \ - --ignore zmq/tests/test_auth.py \ - --ignore zmq/tests/test_zmqstream.py -} +export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}" post_install() { - vlicense LICENSE.BSD + vlicense LICENSE.md }