Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2014 00:28:13 +0000 (UTC)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349101 - head/devel/ipython
Message-ID:  <201403250028.s2P0SDEP080617@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olgeni
Date: Tue Mar 25 00:28:13 2014
New Revision: 349101
URL: http://svnweb.freebsd.org/changeset/ports/349101
QAT: https://qat.redports.org/buildarchive/r349101/

Log:
  Add support for Python 3.
  
  Submitted by:	nwhitehorn

Modified:
  head/devel/ipython/Makefile
  head/devel/ipython/pkg-plist

Modified: head/devel/ipython/Makefile
==============================================================================
--- head/devel/ipython/Makefile	Mon Mar 24 23:52:37 2014	(r349100)
+++ head/devel/ipython/Makefile	Tue Mar 25 00:28:13 2014	(r349101)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ipython
 PORTVERSION=	1.2.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -17,6 +17,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pexp
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+PYTHON_PY3K_PLIST_HACK=yes
 
 OPTIONS_DEFINE=	X11 HTML_NOTEBOOK ZMQ
 OPTIONS_DEFAULT=X11 ZMQ
@@ -46,4 +47,12 @@ post-install:
 	cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_MAJOR_VER} == "3"
+PLIST_SUB+=	IPYTHON_SUFFIX="3"
+.else
+PLIST_SUB+=	IPYTHON_SUFFIX=""
+.endif
+
+.include <bsd.port.post.mk>

Modified: head/devel/ipython/pkg-plist
==============================================================================
--- head/devel/ipython/pkg-plist	Mon Mar 24 23:52:37 2014	(r349100)
+++ head/devel/ipython/pkg-plist	Tue Mar 25 00:28:13 2014	(r349101)
@@ -1,11 +1,11 @@
-bin/ipcluster
-bin/ipcontroller
-bin/ipengine
-bin/iplogger
-bin/iptest
-bin/ipython
-bin/irunner
-bin/pycolor
+bin/ipcluster%%IPYTHON_SUFFIX%%
+bin/ipcontroller%%IPYTHON_SUFFIX%%
+bin/ipengine%%IPYTHON_SUFFIX%%
+bin/iplogger%%IPYTHON_SUFFIX%%
+bin/iptest%%IPYTHON_SUFFIX%%
+bin/ipython%%IPYTHON_SUFFIX%%
+bin/irunner%%IPYTHON_SUFFIX%%
+bin/pycolor%%IPYTHON_SUFFIX%%
 man/man1/ipcluster.1.gz
 man/man1/ipcontroller.1.gz
 man/man1/ipengine.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403250028.s2P0SDEP080617>