Bug 177210 - [PATCH] devel/ipython: make pyzmq optional
Summary: [PATCH] devel/ipython: make pyzmq optional
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Jimmy Olgeni
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-21 21:50 UTC by William Grzybowski
Modified: 2013-03-22 10:10 UTC (History)
0 users

See Also:


Attachments
ipython.patch (1.19 KB, patch)
2013-03-21 21:50 UTC, William Grzybowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description William Grzybowski 2013-03-21 21:50:00 UTC
	pyzmq is not a required dependency, make it optional, on by default

Fix: See attached patch
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-21 21:50:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->olgeni

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jimmy Olgeni freebsd_committer freebsd_triage 2013-03-22 10:02:20 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2013-03-22 10:02:25 UTC
Author: olgeni
Date: Fri Mar 22 10:02:18 2013
New Revision: 314902
URL: http://svnweb.freebsd.org/changeset/ports/314902

Log:
  Add ZMQ option.
  
  ZMQ support is only required by qtconsole, notebook and parallel
  computing.
  
  PR:		ports/177210
  Submitted by:	William Grzybowski <william88@gmail.com>

Modified:
  head/devel/ipython/Makefile

Modified: head/devel/ipython/Makefile
==============================================================================
--- head/devel/ipython/Makefile	Fri Mar 22 09:54:08 2013	(r314901)
+++ head/devel/ipython/Makefile	Fri Mar 22 10:02:18 2013	(r314902)
@@ -14,7 +14,6 @@ COMMENT=	An enhanced Interactive Python 
 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
 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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"