daniel a84c79776d switch py-construct, py-sane, and py-zmq to be python3-only
This is one of the many changes needed to update numpy to v1.17.0 or
newer as numpy is now python3-only.

Analysis of py-zmq consumers flubbed by me. Luckily bket@ did a much
better dependency analysis of the py-zmq consumers.

ok bket@
2020-10-10 18:45:00 +00:00

41 lines
826 B
Makefile

# $OpenBSD: Makefile,v 1.29 2020/10/10 18:45:00 daniel Exp $
COMMENT = Python bindings for ZeroMQ
MODPY_EGG_VERSION = 18.0.1
DISTNAME = pyzmq-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
EPOCH = 0
REVISION = 1
CATEGORIES = net devel
HOMEPAGE = https://github.com/zeromq/pyzmq/
# LGPLv3/BSD
PERMIT_PACKAGE = Yes
WANTLIB = ${MODPY_WANTLIB} pthread zmq
MODULES = lang/python
LIB_DEPENDS = ${MODPY_LIB_DEPENDS} \
net/zeromq
MODPY_PI = Yes
MODPY_DISTUTILS_BUILDARGS = --zmq=${LOCALBASE}
MAKE_ENV = LC_CTYPE=en_US.UTF-8
MODPY_PYTEST = Yes
MODPY_PYTEST_ARGS = zmq
# ulimit -n 1024
TEST_TARGET = build_ext --inplace test
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR} \
www/py-tornado${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>