[125247] trunk/dports/python/py-cython/Portfile

stromnov at macports.org stromnov at macports.org
Thu Sep 11 10:01:30 PDT 2014


Revision: 125247
          https://trac.macports.org/changeset/125247
Author:   stromnov at macports.org
Date:     2014-09-11 10:01:30 -0700 (Thu, 11 Sep 2014)
Log Message:
-----------
py-cython: quick fix py24, py25, py31 and py32 subports

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

Modified: trunk/dports/python/py-cython/Portfile
===================================================================
--- trunk/dports/python/py-cython/Portfile	2014-09-11 16:51:06 UTC (rev 125246)
+++ trunk/dports/python/py-cython/Portfile	2014-09-11 17:01:30 UTC (rev 125247)
@@ -33,6 +33,14 @@
                     sha256  0cd5787fb3f1eaf8326b21bdfcb90aabd3eca7c214c5b7b503fbb82da97bbaa0
 
 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"} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140911/b1d85743/attachment.html>


More information about the macports-changes mailing list