aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2016-11-12 21:08:14 +0800
committernovel <novel@FreeBSD.org>2016-11-12 21:08:14 +0800
commit25bb1ead4da1883d30eac64221c81aedeb5504cf (patch)
treeebdc86c6026869cf23c0832dcfe84bd210c7d547
parent384da7ac5b80fd332507c78e5d10148278889b9e (diff)
downloadfreebsd-ports-graphics-25bb1ead4da1883d30eac64221c81aedeb5504cf.tar.gz
freebsd-ports-graphics-25bb1ead4da1883d30eac64221c81aedeb5504cf.tar.zst
freebsd-ports-graphics-25bb1ead4da1883d30eac64221c81aedeb5504cf.zip
net/py-pyzmq: update to 16.0.1
- update to 16.0.1 - rename regression-test target to do-test and add TEST_DEPENDS - fix detecting zmq in non-default LOCALBASE [1] PR: 214274 [1] Submitted by: jhujhiti@adjectivism.org [1]
-rw-r--r--net/py-pyzmq/Makefile10
-rw-r--r--net/py-pyzmq/distinfo6
2 files changed, 7 insertions, 9 deletions
diff --git a/net/py-pyzmq/Makefile b/net/py-pyzmq/Makefile
index 89252b59021..654ac2f8789 100644
--- a/net/py-pyzmq/Makefile
+++ b/net/py-pyzmq/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pyzmq
-PORTVERSION= 16.0.0
+PORTVERSION= 16.0.1
CATEGORIES= net devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,9 +13,11 @@ COMMENT= Python bindings for ZeroMQ
LICENSE= LGPL3
LIB_DEPENDS= libzmq.so:net/libzmq4
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest
USES= python
USE_PYTHON= distutils autoplist
+PYDISTUTILS_CONFIGUREARGS= --zmq=${LOCALBASE}
.include <bsd.port.pre.mk>
@@ -23,11 +25,7 @@ USE_PYTHON= distutils autoplist
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>0:devel/py-asyncio
.endif
-pre-configure:
- @${SED} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.cfg.template > \
- ${WRKSRC}/setup.cfg
-
-regression-test: extract
+do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext --inplace
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
diff --git a/net/py-pyzmq/distinfo b/net/py-pyzmq/distinfo
index 26365c04e70..efd054ccddc 100644
--- a/net/py-pyzmq/distinfo
+++ b/net/py-pyzmq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1477133732
-SHA256 (pyzmq-16.0.0.tar.gz) = 712000cc23e3845936d22b6085be40679fd38d789a3d20836be191b8a86f15a7
-SIZE (pyzmq-16.0.0.tar.gz) = 986465
+TIMESTAMP = 1478890077
+SHA256 (pyzmq-16.0.1.tar.gz) = 97d39ed371a42c4fa8244e3d7ef5fae71ec223a4bba4ba3fa2aad1886cd72967
+SIZE (pyzmq-16.0.1.tar.gz) = 1026593