ports/177210: [PATCH] devel/ipython: make pyzmq optional
William Grzybowski
william88 at gmail.com
Thu Mar 21 21:50:00 UTC 2013
>Number: 177210
>Category: ports
>Synopsis: [PATCH] devel/ipython: make pyzmq optional
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 21 21:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: William Grzybowski
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
>Environment:
>Description:
pyzmq is not a required dependency, make it optional, on by default
>How-To-Repeat:
>Fix:
See attached patch
--- ipython.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 314859)
+++ Makefile (working copy)
@@ -14,7 +14,6 @@
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 @@
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 and notebook)
.include <bsd.port.options.mk>
@@ -39,6 +39,10 @@
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
--- ipython.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list