35 lines
956 B
Bash
35 lines
956 B
Bash
# Template file for 'python3-pyzmq'
|
|
pkgname=python3-pyzmq
|
|
version=23.2.1
|
|
revision=1
|
|
wrksrc="pyzmq-${version}"
|
|
build_style=python3-module
|
|
make_build_args="--zmq=${XBPS_CROSS_BASE}/usr"
|
|
hostmakedepends="python3-setuptools python3-packaging"
|
|
makedepends="zeromq-devel python3-devel"
|
|
depends="python3"
|
|
checkdepends="python3-pytest-xdist"
|
|
short_desc="Python3 bindings for the ZeroMQ messaging library"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="LGPL-3.0-or-later, 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=2b381aa867ece7d0a82f30a0c7f3d4387b7cf2e0697e33efaa5bed6c5784abcd
|
|
|
|
pre_build() {
|
|
cat > setup.cfg <<-EOF
|
|
[global]
|
|
skip_check_zmq = True
|
|
EOF
|
|
}
|
|
|
|
do_check() {
|
|
(cd build/lib* && \
|
|
python3 -m pytest -n $XBPS_MAKEJOBS zmq/tests -k 'not test_cython')
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING.BSD
|
|
}
|