void-packages/srcpkgs/python3-pyzmq/template
2021-01-31 21:38:30 -05:00

33 lines
906 B
Bash

# Template file for 'python3-pyzmq'
pkgname=python3-pyzmq
version=22.0.2
revision=1
wrksrc="pyzmq-${version}"
build_style=python3-module
make_build_args="--zmq=${XBPS_CROSS_BASE}/usr"
hostmakedepends="python3-setuptools"
makedepends="zeromq-devel python3-devel"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 bindings for the ZeroMQ messaging library"
maintainer="Orphaned <orphan@voidlinux.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=d7b82a959e5e22d492f4f5a1e650e909a6c8c76ede178f538313ddb9d1e92963
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')
}
post_install() {
vlicense COPYING.BSD
}