1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

Add ZMQ option.

ZMQ support is only required by qtconsole, notebook and parallel
computing.

PR:		ports/177210
Submitted by:	William Grzybowski <william88@gmail.com>
This commit is contained in:
Jimmy Olgeni 2013-03-22 10:02:18 +00:00
parent 4205102326
commit d021bbcf17
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314902

View File

@ -14,7 +14,6 @@ COMMENT= An enhanced Interactive Python shell
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=2:${PORTSDIR}/databases/py-sqlite3
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>=2:${PORTSDIR}/misc/py-pexpect \
${PYTHON_PKGNAMEPREFIX}sqlite3>=2:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}pyzmq>=2.1.4:${PORTSDIR}/devel/py-pyzmq
USE_PYTHON= yes
USE_PYDISTUTILS=yes
@ -22,10 +21,11 @@ USE_PYDISTUTILS=yes
MAN1= ipcluster.1 ipcontroller.1 ipengine.1 iplogger.1 \
ipython.1 irunner.1 pycolor.1
OPTIONS_DEFINE= X11 HTML_NOTEBOOK
OPTIONS_DEFAULT=X11
OPTIONS_DEFINE= X11 HTML_NOTEBOOK ZMQ
OPTIONS_DEFAULT=X11 ZMQ
HTML_NOTEBOOK_DESC= HTML notebook support
ZMQ_DESC= ZMQ support (parallel computing, qt console, notebook)
.include <bsd.port.options.mk>
@ -39,6 +39,10 @@ RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}qt4-gui>=0:${PORTSDIR}/x11-toolkits/py-qt4-
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tornado>=2.0:${PORTSDIR}/www/py-tornado
.endif
.if ${PORT_OPTIONS:MZMQ}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyzmq>=2.1.4:${PORTSDIR}/devel/py-pyzmq
.endif
post-patch:
.if ! ${PORT_OPTIONS:MEXAMPLES}
${REINPLACE_CMD} -e "s# + example_files##g" ${WRKSRC}/setupbase.py