[127278] trunk/dports/python

mmoll at macports.org mmoll at macports.org
Fri Oct 24 12:24:16 PDT 2014


Revision: 127278
          https://trac.macports.org/changeset/127278
Author:   mmoll at macports.org
Date:     2014-10-24 12:24:16 -0700 (Fri, 24 Oct 2014)
Log Message:
-----------
py-ipython: remove py{24,25,26,31,32,33} subports

Modified Paths:
--------------
    trunk/dports/python/py-graveyard/Portfile
    trunk/dports/python/py-ipython/Portfile

Modified: trunk/dports/python/py-graveyard/Portfile
===================================================================
--- trunk/dports/python/py-graveyard/Portfile	2014-10-24 19:09:45 UTC (rev 127277)
+++ trunk/dports/python/py-graveyard/Portfile	2014-10-24 19:24:16 UTC (rev 127278)
@@ -69,6 +69,7 @@
 hypy                0.8.3_1     25 26
 imdb                4.8.2_2     24 25 26
 iplib               0.7_2       24
+ipython             2.3.0_2     24 25 26 31 32 33
 jedi                0.8.0_2     26 32 33
 keyczar             0.71c_1     25 26
 kqueue              2.0.1_1     24 25 26

Modified: trunk/dports/python/py-ipython/Portfile
===================================================================
--- trunk/dports/python/py-ipython/Portfile	2014-10-24 19:09:45 UTC (rev 127277)
+++ trunk/dports/python/py-ipython/Portfile	2014-10-24 19:24:16 UTC (rev 127278)
@@ -14,7 +14,7 @@
 license             BSD
 supported_archs     noarch
 
-python.versions     24 25 26 27 31 32 33 34
+python.versions     27 34
 
 maintainers         aronnax sean openmaintainer
 
@@ -35,29 +35,6 @@
 checksums           rmd160  3c55299019df1086ba33d4dbe3d2a6544027c52a \
                     sha256  a2f81afe3eca5c8b2e8cf4ec35518fd007a39231770e67e6c2c4f9bd2b857aae
 
-# IPython 1.0 requires Python ≥ 2.6.5 or ≥ 3.2.1. It does not support Python 3.0, 3.1, or 2.5.
-# IPython 2.0 requires Python ≥ 2.7 or ≥ 3.3.
-if {${name} ne ${subport} && [lsearch {24 25 26 31 32} ${python.version}] != -1} {
-    if {${subport} eq "py24-${realname}" || ${subport} eq "py25-${realname}"} {
-        version             0.10.2
-        revision            1
-        checksums           rmd160  365a4eb9b534df1a9aa8717f173e9a032224ea01 \
-                            sha256  9ed5fe693d92e6ba9ecc3e367ae5607b80d66db53b0a636fa39fe15ae3df8c47
-    } elseif {${subport} eq "py26-${realname}" || ${subport} eq "py32-${realname}"} {
-        version             1.2.1
-        revision            0
-        checksums           rmd160  318f97b515bd984d5eaac0e2558a5d67e3d5378d \
-                            sha256  c27aeae9b8e5c4a2d28ba0f04b879216d6f96f36380cd465a823b1efb0595874
-    } elseif {${subport} eq "py31-${realname}"} {
-        version             0.13.2
-        revision            1
-        checksums           rmd160  afdd4e7fed6b3d23d5577b66671c9b868ef1f847 \
-                            sha256  17fbeea1dff2318d617d90fdf7af4eb35dc48c61389a2dffaab8ff100fb100ea
-    }
-    master_sites        http://archive.ipython.org/release/${version}
-    distname            ${realname}-${version}
-}
-
 if {${name} ne ${subport} && ${python.version} < 30 && ${python.version} > 25} {
     variant scientific description "Use ScientificPython to provide physical quantities support" {
         depends_lib-append      port:py${python.version}-scientific
@@ -65,8 +42,7 @@
     default_variants        +scientific
 }
 
-if {${name} ne ${subport} && ${python.version} >= 26} {
-
+if {${name} ne ${subport}} {
     variant parallel description "Support for parallel computing" {
         depends_lib-append      port:py${python.version}-zmq
     }
@@ -81,9 +57,7 @@
         depends_lib-append      port:py${python.version}-pyside \
                                 port:py${python.version}-pygments
     }
-}
 
-if {${name} ne ${subport} && (${python.version} == 26 || ${python.version} == 27 || ${python.version} >= 33)} {
     variant notebook requires parallel description "Support for IPython HTML notebook" {
         depends_lib-append      port:py${python.version}-jinja2 \
                                 port:py${python.version}-requests \
@@ -101,9 +75,6 @@
     }
 
     default_variants-append     +notebook
-}
-
-if {${name} ne ${subport}} {
     depends_lib-append      port:py${python.version}-readline
     depends_run             port:ipython_select
 
@@ -111,41 +82,16 @@
         depends_build-append    port:py${python.version}-setuptools
     }
 
-    if {${python.version} >= 25} {
-        depends_build-append    port:gzip
-    }
+    depends_build-append    port:gzip
 
     post-destroot {
-        if {${subport} eq "py24-${realname}"} {
-            foreach f {ipython pycolor} {
-                move ${destroot}${prefix}/share/man/man1/${f}.1.gz \
-                     ${destroot}${prefix}/share/man/man1/${f}-${python.branch}.1.gz
-            }
-            move ${destroot}${prefix}/share/doc/${realname} ${destroot}${prefix}/share/doc/${subport}
-        } elseif {${subport} eq "py25-${realname}"} {
-            foreach f {ipcluster ipcontroller ipengine ipython ipython-wx ipythonx irunner pycolor} {
-                move ${destroot}${prefix}/share/man/man1/${f}.1.gz \
-                     ${destroot}${prefix}/share/man/man1/${f}-${python.branch}.1.gz
-            }
-            move ${destroot}${prefix}/share/doc/${realname} ${destroot}${prefix}/share/doc/${subport}
-        } elseif {${subport} eq "py26-${realname}" || ${subport} eq "py31-${realname}" || ${subport} eq "py32-${realname}"} {
-            # Since IPython 0.13, the man pages are no longer gzipped, so to ensure
-            # that ipython_select works correctly, we gzip the man pages.
-            set gzip [findBinary gzip ${portutil::autoconf::gzip_path}]
-            foreach f {ipcluster ipcontroller ipengine iplogger ipython irunner pycolor} {
-                system "$gzip -9vf ${destroot}${python.prefix}/share/man/man1/${f}.1"
-                file attributes ${destroot}${python.prefix}/share/man/man1/${f}.1.gz -permissions 00444
-                ln -s ${python.prefix}/share/man/man1/${f}.1.gz ${destroot}${prefix}/share/man/man1/${f}-${python.branch}.1.gz
-            }
-        } else {
-            # Since IPython 0.13, the man pages are no longer gzipped, so to ensure
-            # that ipython_select works correctly, we gzip the man pages.
-            set gzip [findBinary gzip ${portutil::autoconf::gzip_path}]
-            foreach f {ipcluster ipcontroller ipengine ipython} {
-                system "$gzip -9vf ${destroot}${python.prefix}/share/man/man1/${f}.1"
-                file attributes ${destroot}${python.prefix}/share/man/man1/${f}.1.gz -permissions 00444
-                ln -s ${python.prefix}/share/man/man1/${f}.1.gz ${destroot}${prefix}/share/man/man1/${f}-${python.branch}.1.gz
-            }
+        # Since IPython 0.13, the man pages are no longer gzipped, so to ensure
+        # that ipython_select works correctly, we gzip the man pages.
+        set gzip [findBinary gzip ${portutil::autoconf::gzip_path}]
+        foreach f {ipcluster ipcontroller ipengine ipython} {
+            system "$gzip -9vf ${destroot}${python.prefix}/share/man/man1/${f}.1"
+            file attributes ${destroot}${python.prefix}/share/man/man1/${f}.1.gz -permissions 00444
+            ln -s ${python.prefix}/share/man/man1/${f}.1.gz ${destroot}${prefix}/share/man/man1/${f}-${python.branch}.1.gz
         }
     }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141024/03ac08ca/attachment-0001.html>


More information about the macports-changes mailing list