[49230] trunk/dports/devel

blair at macports.org blair at macports.org
Sun Apr 5 18:37:37 PDT 2009


Revision: 49230
          http://trac.macports.org/changeset/49230
Author:   blair at macports.org
Date:     2009-04-05 18:37:36 -0700 (Sun, 05 Apr 2009)
Log Message:
-----------
Add Python 2.6 bindings to Ice.

Modified Paths:
--------------
    trunk/dports/devel/ice-python26/Portfile

Added Paths:
-----------
    trunk/dports/devel/ice-python26/

Modified: trunk/dports/devel/ice-python26/Portfile
===================================================================
--- trunk/dports/devel/ice-python25/Portfile	2009-04-06 01:11:10 UTC (rev 49228)
+++ trunk/dports/devel/ice-python26/Portfile	2009-04-06 01:37:36 UTC (rev 49230)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 
-name		ice-python25
+name		ice-python26
 version		3.3.1
 categories	devel python
 maintainers	blair
@@ -40,7 +40,7 @@
 			rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
 platforms	darwin
 
-depends_lib	port:python25 \
+depends_lib	port:python26 \
 		port:ice-cpp
 
 post-patch {
@@ -62,15 +62,15 @@
 		CC="${configure.cc}" \
 		CXX="${configure.cxx}" \
 		ICE_HOME="${prefix}" \
-		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
-		PYTHON_VERSION=python2.5 \
+		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
+		PYTHON_VERSION=python2.6 \
 		OPTIMIZE="yes" \
 		all
 
 test.run	yes
 test.dir	${worksrcpath}/py
 test.env	ICE_HOME=${prefix}
-test.cmd	${prefix}/bin/python2.5
+test.cmd	${prefix}/bin/python2.6
 test.target	allTests.py
 
 destroot.dir	${worksrcpath}/py
@@ -78,8 +78,8 @@
 		CC="${configure.cc}" \
 		CXX="${configure.cxx}" \
 		ICE_HOME="${prefix}" \
-		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
-		PYTHON_VERSION=python2.5 \
+		PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
+		PYTHON_VERSION=python2.6 \
 		OPTIMIZE="yes" \
 		install
 
@@ -91,18 +91,18 @@
 
 	xinstall -m 755 -d ${docdir}
 
-	file mkdir ${destroot}${prefix}/lib/python2.5
-	file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.5/site-packages
+	file mkdir ${destroot}${prefix}/lib/python2.6
+	file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.6/site-packages
 
-	set cmd "${prefix}/bin/python2.5 \
-		${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
-		${destroot}${prefix}/lib/python2.5/site-packages"
+	set cmd "${prefix}/bin/python2.6 \
+		${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+		${destroot}${prefix}/lib/python2.6/site-packages"
 	ui_debug ${cmd}
 	system ${cmd}
 
-	set cmd "${prefix}/bin/python2.5 -O \
-		${prefix}/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/compileall.py \
-		${destroot}${prefix}/lib/python2.5/site-packages"
+	set cmd "${prefix}/bin/python2.6 -O \
+		${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+		${destroot}${prefix}/lib/python2.6/site-packages"
 	ui_debug ${cmd}
 	system ${cmd}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090405/400b6162/attachment.html>


More information about the macports-changes mailing list