openbsd-ports/net/py-zmq/Makefile
rpointel 33bfbaac90 Update py-zmq to 2.2.0.
ok benoit@.
2012-04-28 10:06:16 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.3 2012/04/28 10:06:16 rpointel Exp $
COMMENT = Python bindings for ZeroMQ
MODPY_EGG_VERSION = 2.2.0
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
WANTLIB = ${MODPY_WANTLIB} zmq
MASTER_SITES = ${MASTER_SITE_PYPI:=p/pyzmq/} \
https://github.com/downloads/zeromq/pyzmq/
MODULES = lang/python
BUILD_DEPENDS = net/zeromq
LIB_DEPENDS = ${BUILD_DEPENDS}
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>