2013-03-08 05:34:18 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2013/03/08 10:34:18 jasper Exp $
|
2011-11-30 01:13:25 -05:00
|
|
|
|
|
|
|
COMMENT = Python bindings for ZeroMQ
|
|
|
|
|
2013-03-08 05:34:18 -05:00
|
|
|
MODPY_EGG_VERSION = 13.0.0
|
2011-11-30 01:13:25 -05:00
|
|
|
DISTNAME = pyzmq-${MODPY_EGG_VERSION}
|
|
|
|
PKGNAME = ${DISTNAME:S/py/py-/}
|
|
|
|
|
|
|
|
CATEGORIES = net devel
|
|
|
|
|
|
|
|
HOMEPAGE = http://github.com/zeromq/pyzmq/
|
|
|
|
|
|
|
|
# LGPLv3
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
|
2013-03-08 05:34:18 -05:00
|
|
|
WANTLIB = ${MODPY_WANTLIB} pthread zmq
|
2011-11-30 01:13:25 -05:00
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_PYPI:=p/pyzmq/} \
|
|
|
|
https://github.com/downloads/zeromq/pyzmq/
|
|
|
|
|
|
|
|
MODULES = lang/python
|
|
|
|
|
2013-03-08 05:34:18 -05:00
|
|
|
LIB_DEPENDS = net/zeromq>=3.2.2 \
|
|
|
|
${MODPY_LIB_DEPENDS}
|
2011-11-30 01:13:25 -05:00
|
|
|
RUN_DEPENDS = security/py-paramiko \
|
|
|
|
devel/py-pexpect
|
|
|
|
|
|
|
|
MODPY_DISTUTILS_BUILDARGS = --zmq=${LOCALBASE}
|
|
|
|
|
|
|
|
REGRESS_TARGET = test
|
|
|
|
|
|
|
|
# regression tests needs to change default ulimit
|
|
|
|
# ulimit -n 1024
|
|
|
|
REGRESS_DEPENDS += math/py-numpy \
|
|
|
|
devel/py-nose
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
|
|
${MODPY_BIN} ./${MODPY_SETUP} build_ext --inplace
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
|
|
|
|
${MODPY_BIN} ./${MODPY_SETUP} ${REGRESS_TARGET}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|