[79722] trunk/dports/devel

blair at macports.org blair at macports.org
Thu Jun 23 17:38:27 PDT 2011


Revision: 79722
          http://trac.macports.org/changeset/79722
Author:   blair at macports.org
Date:     2011-06-23 17:38:26 -0700 (Thu, 23 Jun 2011)
Log Message:
-----------
ice-python27: new port based off the ice-python26 port.

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

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

Modified: trunk/dports/devel/ice-python27/Portfile
===================================================================
--- trunk/dports/devel/ice-python26/Portfile	2011-06-24 00:33:03 UTC (rev 79721)
+++ trunk/dports/devel/ice-python27/Portfile	2011-06-24 00:38:26 UTC (rev 79722)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 
-name            ice-python26
+name            ice-python27
 version         3.4.2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      devel python
@@ -38,7 +38,7 @@
                 rmd160 7ce680a4eb5fa9d0bb6f8b8910e267dfc2373d75
 platforms       darwin
 
-depends_lib     port:python26 \
+depends_lib     port:python27 \
                 port:ice-cpp
 
 build.dir       ${worksrcpath}/py
@@ -61,22 +61,22 @@
                 CC="${configure.cc}" \
                 CXX="${configure.cxx}" \
                 ICE_HOME="${prefix}" \
-                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
-                PYTHON_VERSION=python2.6 \
+                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.7" \
+                PYTHON_VERSION=python2.7 \
                 OPTIMIZE="yes" \
                 all
 
 test.run        yes
 test.env        ICE_HOME=${prefix}
-test.cmd        ${prefix}/bin/python2.6
+test.cmd        ${prefix}/bin/python2.7
 test.target     allTests.py
 
 destroot.target prefix="${destroot}${prefix}" \
                 CC="${configure.cc}" \
                 CXX="${configure.cxx}" \
                 ICE_HOME="${prefix}" \
-                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.6" \
-                PYTHON_VERSION=python2.6 \
+                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.7" \
+                PYTHON_VERSION=python2.7 \
                 OPTIMIZE="yes" \
                 install
 
@@ -84,25 +84,25 @@
         set sharedir ${destroot}${prefix}/share
         set docdir ${sharedir}/doc/${name}
 
-        set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.6
-        set python26_dir ${python_root}/lib/python2.6
-        set site_packages_dir ${python26_dir}/site-packages
+        set python_root ${destroot}${prefix}/Library/Frameworks/Python.framework/Versions/2.7
+        set python27_dir ${python_root}/lib/python2.7
+        set site_packages_dir ${python27_dir}/site-packages
 
         delete ${destroot}${prefix}/slice
 
         xinstall -m 755 -d ${docdir}
 
-        file mkdir ${python26_dir}
+        file mkdir ${python27_dir}
         file rename ${destroot}${prefix}/python ${site_packages_dir}
 
-        set cmd "${prefix}/bin/python2.6 \
-                ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+        set cmd "${prefix}/bin/python2.7 \
+                ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \
                 ${site_packages_dir}"
         ui_debug ${cmd}
         system ${cmd}
 
-        set cmd "${prefix}/bin/python2.6 -O \
-                ${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/compileall.py \
+        set cmd "${prefix}/bin/python2.7 -O \
+                ${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/compileall.py \
                 ${site_packages_dir}"
         ui_debug ${cmd}
         system ${cmd}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110623/de68e3ca/attachment-0001.html>


More information about the macports-changes mailing list