void-packages/srcpkgs/python3-pyzmq/template

24 lines
841 B
Bash

# Template file for 'python3-pyzmq'
pkgname=python3-pyzmq
version=26.0.3
revision=1
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 <ajh@sideband.org>"
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=dba7d9f2e047dfa2bca3b01f4f84aa5246725203d6284e3790f2ca15fba6b40a
export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"
post_install() {
vlicense LICENSE.md
}