[37863] trunk/dports/devel
blair at macports.org
blair at macports.org
Thu Jun 26 15:05:17 PDT 2008
Revision: 37863
http://trac.macosforge.org/projects/macports/changeset/37863
Author: blair at macports.org
Date: 2008-06-26 15:05:17 -0700 (Thu, 26 Jun 2008)
Log Message:
-----------
Now that MacPorts has a framework Python 2.5 build, the Ice bindings
to them can be built.
Modified Paths:
--------------
trunk/dports/devel/ice-python25/Portfile
Added Paths:
-----------
trunk/dports/devel/ice-python25/
Copied: trunk/dports/devel/ice-python25 (from rev 37862, trunk/dports/devel/ice-python)
Modified: trunk/dports/devel/ice-python25/Portfile
===================================================================
--- trunk/dports/devel/ice-python/Portfile 2008-06-26 22:03:26 UTC (rev 37862)
+++ trunk/dports/devel/ice-python25/Portfile 2008-06-26 22:05:17 UTC (rev 37863)
@@ -2,9 +2,8 @@
PortSystem 1.0
-name ice-python
+name ice-python25
version 3.3.0
-revision 1
categories devel python
maintainers blair
description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
@@ -37,14 +36,14 @@
rmd160 e85b37c93f12d9ae97c6b7b2f64f506fa051e4f8
platforms darwin
-depends_lib port:python24 \
+depends_lib port:python25 \
port:ice-cpp
patchfiles patch-py.config.Make.rules.Darwin.diff \
patch-config.TestUtil.py.diff
post-patch {
- reinplace "s#python Client.py#${prefix}/bin/python2.4 Client.py#" \
+ reinplace "s#python Client.py#${prefix}/bin/python2.5 Client.py#" \
${worksrcpath}/py/test/Slice/keyword/run.py
}
@@ -53,22 +52,22 @@
build.dir ${worksrcpath}/py
build.target prefix="${prefix}" \
ICE_HOME="${prefix}" \
- PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.4" \
- PYTHON_VERSION=python2.4 \
+ PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
+ PYTHON_VERSION=python2.5 \
OPTIMIZE="yes" \
all
test.run yes
test.dir ${worksrcpath}/py
test.env ICE_HOME=${prefix}
-test.cmd ${prefix}/bin/python2.4
+test.cmd ${prefix}/bin/python2.5
test.target allTests.py
destroot.dir ${worksrcpath}/py
destroot.target prefix="${destroot}${prefix}" \
ICE_HOME="${prefix}" \
- PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.4" \
- PYTHON_VERSION=python2.4 \
+ PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
+ PYTHON_VERSION=python2.5 \
OPTIMIZE="yes" \
install
@@ -80,18 +79,18 @@
xinstall -m 755 -d ${docdir}
- file mkdir ${destroot}${prefix}/lib/python2.4
- file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.4/site-packages
+ file mkdir ${destroot}${prefix}/lib/python2.5
+ file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.5/site-packages
- set cmd "${prefix}/bin/python2.4 \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py \
- ${destroot}${prefix}/lib/python2.4/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"
ui_debug ${cmd}
system ${cmd}
- set cmd "${prefix}/bin/python2.4 -O \
- ${prefix}/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/compileall.py \
- ${destroot}${prefix}/lib/python2.4/site-packages"
+ 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"
ui_debug ${cmd}
system ${cmd}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080626/9677a202/attachment.htm
More information about the macports-changes
mailing list