1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net/py-pyzmq: add dependency on cython

This:
- Fixes hidden dependency, as cython is used as soon as its detected
- Improves compatibility with newer python versions by regenerating C
  files with latest cython
- Fixes tests which require pyximport module from cython

PR:		263580
Reported by:	reprise
Approved by:	novel (maintainer)
This commit is contained in:
Dmitry Marakasov 2022-04-26 20:43:21 +03:00
parent 748bf94cf0
commit 2238cdaeee

View File

@ -2,6 +2,7 @@
PORTNAME= pyzmq
PORTVERSION= 22.3.0
PORTREVISION= 1
CATEGORIES= net devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -18,7 +19,7 @@ LIB_DEPENDS= libzmq.so:net/libzmq4
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= distutils autoplist
USE_PYTHON= distutils autoplist cython
PYDISTUTILS_CONFIGUREARGS= --zmq=${LOCALBASE}