Revision: 94755 https://trac.macports.org/changeset/94755 Author: blair@macports.org Date: 2012-06-28 19:47:10 -0700 (Thu, 28 Jun 2012) Log Message: ----------- ice-python24: new port copied from ice-python that replaces ice-python. Modified Paths: -------------- trunk/dports/devel/ice-python/Portfile trunk/dports/devel/ice-python24/Portfile Added Paths: ----------- trunk/dports/devel/ice-python24/ Modified: trunk/dports/devel/ice-python/Portfile =================================================================== --- trunk/dports/devel/ice-python/Portfile 2012-06-28 22:31:02 UTC (rev 94754) +++ trunk/dports/devel/ice-python/Portfile 2012-06-29 02:47:10 UTC (rev 94755) @@ -4,10 +4,10 @@ name ice-python version 3.4.2 -revision 1 -set branch [join [lrange [split ${version} .] 0 1] .] +revision 2 categories devel python maintainers blair +replaced_by ice-python24 description Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP long_description \ @@ -28,93 +28,13 @@ multi-threaded servers. \ This Port provides the Python bindings that sit on top of the C++ \ Ice C++ runtime libraries. - -homepage http://www.zeroc.com/ -master_sites ${homepage}download/Ice/${branch}/ -dist_subdir ice-cpp -distname Ice-${version} -checksums md5 e97672eb4a63c6b8dd202d0773e19dc7 \ - sha1 8c84d6e3b227f583d05e08251e07047e6c3a6b42 \ - rmd160 7ce680a4eb5fa9d0bb6f8b8910e267dfc2373d75 -patchfiles patch-py.config.Make.rules.Darwin.diff +homepage http://www.scala-lang.org/ platforms darwin +distfiles -depends_lib port:python24 \ - port:ice-cpp - -build.dir ${worksrcpath}/py - -post-patch { - reinplace "s/-O2/-g -O2/" \ - ${build.dir}/config/Make.rules.Darwin - - # Prevent name conflicts between libICE.* from xorg-libice and - # libIce.* from this port by renaming libIce.* to libZeroCIce.*. - reinplace "s/-lIce /-lZeroCIce /" \ - ${build.dir}/config/Make.rules - reinplace "s/-lIce /-lZeroCIce /" \ - ${build.dir}/config/Make.rules.Darwin +pre-configure { + ui_error "Please use one of the numbered ice-python* ports instead." + return -code error "obsolete port" } -use_configure no - -build.target prefix="${prefix}" \ - CC="${configure.cc}" \ - CXX="${configure.cxx}" \ - ICE_HOME="${prefix}" \ - PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.4" \ - PYTHON_VERSION=python2.4 \ - OPTIMIZE="yes" \ - all - -test.run yes -test.env ICE_HOME=${prefix} -test.cmd ${prefix}/bin/python2.4 -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.4" \ - PYTHON_VERSION=python2.4 \ - OPTIMIZE="yes" \ - install - -post-destroot { - set sharedir ${destroot}${prefix}/share - set docdir ${sharedir}/doc/${name} - - delete ${destroot}${prefix}/slice - - xinstall -m 755 -d ${docdir} - - file mkdir ${destroot}${prefix}/lib/python2.4 - file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.4/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" - 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" - ui_debug ${cmd} - system ${cmd} - - file rename ${destroot}${prefix}/ICE_LICENSE ${docdir} - file rename ${destroot}${prefix}/LICENSE ${docdir} - foreach f {CHANGES RELEASE_NOTES} { - file copy ${worksrcpath}/${f} ${docdir} - } - file copy ${build.dir}/INSTALL ${docdir} - - if {[variant_isset demo_source_code]} { - file copy ${build.dir}/demo ${docdir} - } -} - -variant demo_source_code description {Install demonstration Python code} { -} +livecheck.type none Modified: trunk/dports/devel/ice-python24/Portfile =================================================================== --- trunk/dports/devel/ice-python/Portfile 2012-06-28 22:31:02 UTC (rev 94754) +++ trunk/dports/devel/ice-python24/Portfile 2012-06-29 02:47:10 UTC (rev 94755) @@ -2,9 +2,8 @@ PortSystem 1.0 -name ice-python +name ice-python24 version 3.4.2 -revision 1 set branch [join [lrange [split ${version} .] 0 1] .] categories devel python maintainers blair