[96817] trunk/dports/devel

blair at macports.org blair at macports.org
Sun Aug 19 10:01:06 PDT 2012


Revision: 96817
          https://trac.macports.org/changeset/96817
Author:   blair at macports.org
Date:     2012-08-19 10:01:06 -0700 (Sun, 19 Aug 2012)
Log Message:
-----------
ice33-python2{5,6}: replaced_by py2{5,6}-zeroc-ice33.

Modified Paths:
--------------
    trunk/dports/devel/ice33-python25/Portfile
    trunk/dports/devel/ice33-python26/Portfile

Modified: trunk/dports/devel/ice33-python25/Portfile
===================================================================
--- trunk/dports/devel/ice33-python25/Portfile	2012-08-19 16:57:41 UTC (rev 96816)
+++ trunk/dports/devel/ice33-python25/Portfile	2012-08-19 17:01:06 UTC (rev 96817)
@@ -4,10 +4,10 @@
 
 name            ice33-python25
 version         3.3.1
-revision        1
+revision        2
+replaced_by     py25-zeroc-ice33
 categories      devel python
 maintainers     blair
-conflicts       py25-zeroc-ice34
 license         GPL-2
 description     Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
 
@@ -31,101 +31,10 @@
     Ice C++ runtime libraries.
 
 homepage        http://www.zeroc.com/
-master_sites    ${homepage}download/Ice/3.3/
-dist_subdir     zeroc-ice33
-distname        Ice-${version}
-distfiles       ${distname}${extract.suffix}
-patchfiles      patch-py.config.Make.rules.Darwin.diff \
-                patch-scripts.TestUtil.py.diff
-checksums       Ice-${version}.tar.gz \
-                    md5 1f37dfcec4662fcde030553fb447d064 \
-                    sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
-                    rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
 platforms       darwin
+distfiles
 
-depends_lib     port:python25 \
-                port:zeroc-ice33
-
-# Work around invalid C++ code by compiling with llvm-gcc-4.2
-# instead of clang.  See
-# http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compile-standards-conformant-compiler.html
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
+pre-configure {
+    ui_error "Please install py25-zeroc-ice33 instead."
+    return -code error "obsolete port"
 }
-
-post-patch {
-    reinplace "s/-O2/-g -O2/" \
-        ${workpath}/Ice-${version}/py/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 /" \
-        ${workpath}/Ice-${version}/py/config/Make.rules \
-        ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
-}
-
-use_configure   no
-
-build.dir       ${worksrcpath}/py
-build.target    prefix="${prefix}" \
-                CC="${configure.cc}" \
-                CXX="${configure.cxx}" \
-                ICE_HOME="${prefix}" \
-                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.5
-test.target     allTests.py
-
-destroot.dir    ${worksrcpath}/py
-destroot.target prefix="${destroot}${prefix}" \
-                CC="${configure.cc}" \
-                CXX="${configure.cxx}" \
-                ICE_HOME="${prefix}" \
-                PYTHON_HOME="${prefix}/Library/Frameworks/Python.framework/Versions/2.5" \
-                PYTHON_VERSION=python2.5 \
-                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.5
-    file rename ${destroot}${prefix}/python ${destroot}${prefix}/lib/python2.5/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.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}
-
-    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 ${worksrcpath}/py/INSTALL ${docdir}
-
-    if {[variant_isset demo_source_code]} {
-        file copy ${worksrcpath}/py/demo ${docdir}
-    }
-}
-
-variant demo_source_code description {Install demonstration Python code} {
-}

Modified: trunk/dports/devel/ice33-python26/Portfile
===================================================================
--- trunk/dports/devel/ice33-python26/Portfile	2012-08-19 16:57:41 UTC (rev 96816)
+++ trunk/dports/devel/ice33-python26/Portfile	2012-08-19 17:01:06 UTC (rev 96817)
@@ -4,10 +4,10 @@
 
 name            ice33-python26
 version         3.3.1
-revision        1
+revision        2
+replaced_by     py26-zeroc-ice33
 categories      devel python
 maintainers     blair
-conflicts       py26-zeroc-ice34
 license         GPL-2
 description     Fast, object-oriented RPC for C++, Java, Python, Ruby, PHP
 
@@ -31,105 +31,10 @@
     Ice C++ runtime libraries.
 
 homepage        http://www.zeroc.com/
-master_sites    ${homepage}download/Ice/3.3/
-dist_subdir     zeroc-ice33
-distname        Ice-${version}
-distfiles       ${distname}${extract.suffix}
-patchfiles      patch-py.config.Make.rules.Darwin.diff \
-                patch-scripts.TestUtil.py.diff
-checksums       Ice-${version}.tar.gz \
-                    md5 1f37dfcec4662fcde030553fb447d064 \
-                    sha1 08d0f32bdb7d909b4a531d45cccfa97bdde649aa \
-                    rmd160 d64d52c35640cebe1145e62f57618473d17cbeb5
 platforms       darwin
+distfiles
 
-depends_lib     port:python26 \
-                port:zeroc-ice33
-
-# Work around invalid C++ code by compiling with llvm-gcc-4.2
-# instead of clang.  See
-# http://www.zeroc.com/forums/bug-reports/4965-slice2cpp-output-does-not-compile-standards-conformant-compiler.html
-if {${configure.compiler} == "clang"} {
-    configure.compiler llvm-gcc-4.2
+pre-configure {
+    ui_error "Please install py26-zeroc-ice33 instead."
+    return -code error "obsolete port"
 }
-
-post-patch {
-    reinplace "s/-O2/-g -O2/" \
-        ${workpath}/Ice-${version}/py/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 /" \
-        ${workpath}/Ice-${version}/py/config/Make.rules \
-        ${workpath}/Ice-${version}/py/config/Make.rules.Darwin
-}
-
-use_configure   no
-
-build.dir       ${worksrcpath}/py
-build.target    prefix="${prefix}" \
-                CC="${configure.cc}" \
-                CXX="${configure.cxx}" \
-                ICE_HOME="${prefix}" \
-                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.6
-test.target     allTests.py
-
-destroot.dir    ${worksrcpath}/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 \
-                OPTIMIZE="yes" \
-                install
-
-post-destroot {
-    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
-
-    delete ${destroot}${prefix}/slice
-
-    xinstall -m 755 -d ${docdir}
-
-    file mkdir ${python26_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 \
-            ${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 \
-            ${site_packages_dir}"
-    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 ${worksrcpath}/py/INSTALL ${docdir}
-
-    if {[variant_isset demo_source_code]} {
-        file copy ${worksrcpath}/py/demo ${docdir}
-    }
-}
-
-variant demo_source_code description {Install demonstration Python code} {
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120819/1b438468/attachment.html>


More information about the macports-changes mailing list