From d406c98cba74a5c88e8fe6e351952531c10f557b Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Wed, 20 Jan 2021 12:02:04 -0500 Subject: [PATCH] python3-pyzmq: update to 21.0.1. --- srcpkgs/python3-pyzmq/template | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/srcpkgs/python3-pyzmq/template b/srcpkgs/python3-pyzmq/template index d5218d347bf..230b21a0431 100644 --- a/srcpkgs/python3-pyzmq/template +++ b/srcpkgs/python3-pyzmq/template @@ -1,6 +1,6 @@ # Template file for 'python3-pyzmq' pkgname=python3-pyzmq -version=20.0.0 +version=21.0.1 revision=1 wrksrc="pyzmq-${version}" build_style=python3-module @@ -8,12 +8,14 @@ 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 " 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=824ad5888331aadeac772bce27e1c2fbcab82fade92edbd234542c4e12f0dca9 +checksum=c3a630dd7716e8e127d43b22598e256a2d11a847b8cc3310350528960037fa06 pre_build() { cat > setup.cfg <<-EOF @@ -22,6 +24,10 @@ pre_build() { EOF } +do_check() { + (cd build/lib* && python3 -m pytest zmq/tests -k 'not test_cython') +} + post_install() { vlicense COPYING.BSD }