[127431] trunk/dports/python

stromnov at macports.org stromnov at macports.org
Tue Oct 28 03:18:22 PDT 2014


Revision: 127431
          https://trac.macports.org/changeset/127431
Author:   stromnov at macports.org
Date:     2014-10-28 03:18:22 -0700 (Tue, 28 Oct 2014)
Log Message:
-----------
py{24,25,31,32}-cython: Replace with py{27,34}-cython

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

Modified: trunk/dports/python/py-cython/Portfile
===================================================================
--- trunk/dports/python/py-cython/Portfile	2014-10-28 10:14:28 UTC (rev 127430)
+++ trunk/dports/python/py-cython/Portfile	2014-10-28 10:18:22 UTC (rev 127431)
@@ -12,7 +12,7 @@
 platforms           darwin
 license             Apache-2
 
-python.versions     24 25 26 27 31 32 33 34
+python.versions     26 27 33 34
 
 maintainers         stromnov openmaintainer
 
@@ -33,30 +33,13 @@
                     sha256  43f64d225186ec7601249ebd1e8f8a7c33767974b493de6783c5b3dd0415bf35
 
 if {${name} ne ${subport}} {
-    # Cython 0.21 requires Python 2.6+ or 3.3+
-    if {[lsearch {24 25 31 32} ${python.version}] != -1} {
-        version             0.20.2
-        revision            0
-        distname            Cython-${version}
-        checksums           rmd160  e78f1779077d6c8e266c9b42b85c8e9031a342d2 \
-                            sha256  ed13b606a2aeb5bd6c235f8ed6c9988c99d01a033d0d21d56137c13d5c7be63f
-    }
-
     post-destroot {
-        if {${subport} eq "py24-cython" || ${subport} eq "py25-cython"} {
-            xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
-                extension_types.html index.html overview.html primes.c sharing.html \
-                special_methods.html ${destroot}${prefix}/share/doc/${subport}
-            xinstall -m 644 -W ${worksrcpath} INSTALL.txt README.txt \
-                ToDo.txt USAGE.txt ${destroot}${prefix}/share/doc/${subport}
-        } else {
-            xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/cython
-            xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
-                extension_types.html index.html overview.html primes.c sharing.html \
-                special_methods.html ${destroot}${python.prefix}/share/doc/cython
-            xinstall -m 644 -W ${worksrcpath} INSTALL.txt README.txt\
-                ToDo.txt USAGE.txt ${destroot}${python.prefix}/share/doc/cython
-        }
+        xinstall -m 755 -d ${destroot}${python.prefix}/share/doc/cython
+        xinstall -m 644 -W ${worksrcpath}/Doc About.html FAQ.html \
+            extension_types.html index.html overview.html primes.c sharing.html \
+            special_methods.html ${destroot}${python.prefix}/share/doc/cython
+        xinstall -m 644 -W ${worksrcpath} INSTALL.txt README.txt \
+            ToDo.txt USAGE.txt ${destroot}${python.prefix}/share/doc/cython
     }
 
     depends_run         port:cython_select

Modified: trunk/dports/python/py-graveyard/Portfile
===================================================================
--- trunk/dports/python/py-graveyard/Portfile	2014-10-28 10:14:28 UTC (rev 127430)
+++ trunk/dports/python/py-graveyard/Portfile	2014-10-28 10:18:22 UTC (rev 127431)
@@ -52,6 +52,7 @@
 coverage            3.7.1_1     25 31 32
 creoleparser        0.7.4_1     25 26
 csvkit              0.4.3_1     26
+cython              0.20.2_1    24 25 31 32
 dap                 2.2.6.7_1   24 25 26
 DAWG                0.7.6_1     26 31 32 33
 des                 2.0.1_1     24 25 26 31 32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141028/3997b9b6/attachment.html>


More information about the macports-changes mailing list