mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
34 lines
764 B
Makefile
34 lines
764 B
Makefile
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pyzmq
|
|
PORTVERSION= 17.1.2
|
|
CATEGORIES= net devel
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= Python bindings for ZeroMQ
|
|
|
|
LICENSE= LGPL3
|
|
|
|
LIB_DEPENDS= libzmq.so:net/libzmq4
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
PYDISTUTILS_CONFIGUREARGS= --zmq=${LOCALBASE}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_VER} == 3.3
|
|
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}asyncio>0:devel/py-asyncio@${PY_FLAVOR}
|
|
.endif
|
|
|
|
do-test:
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} build_ext --inplace
|
|
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test
|
|
|
|
.include <bsd.port.post.mk>
|