# Template file for 'python3-pyzmq'
pkgname=python3-pyzmq
version=26.0.2
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=f0f9bb370449158359bb72a3e12c658327670c0ffe6fbcd1af083152b64f9df0

export CMAKE_ARGS="-DPython_INCLUDE_DIR:PATH=${XBPS_CROSS_BASE}/${py3_inc}"

post_install() {
	vlicense LICENSE.md
}
