[105843] trunk/dports/python/py-astlib/Portfile

aronnax at macports.org aronnax at macports.org
Tue May 7 14:24:17 PDT 2013


Revision: 105843
          https://trac.macports.org/changeset/105843
Author:   aronnax at macports.org
Date:     2013-05-07 14:24:17 -0700 (Tue, 07 May 2013)
Log Message:
-----------
py-astlib: upgrade to 0.7.0, add Python 3.2 subport

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

Modified: trunk/dports/python/py-astlib/Portfile
===================================================================
--- trunk/dports/python/py-astlib/Portfile	2013-05-07 20:46:31 UTC (rev 105842)
+++ trunk/dports/python/py-astlib/Portfile	2013-05-07 21:24:17 UTC (rev 105843)
@@ -5,7 +5,7 @@
 PortGroup               python 1.0
 
 name                    py-astlib
-version                 0.6.1
+version                 0.7.0
 categories              python science
 platforms               darwin
 maintainers             aronnax
@@ -20,10 +20,10 @@
 homepage                http://astlib.sourceforge.net
 master_sites            sourceforge:astlib
 distname                astLib-${version}
-checksums               sha1    b74b8d9f5bdd70aaa83cf4cfa12da596ae4c7879 \
-                        rmd160  12580b063c56645f3ad92455ad4443fdec87c3a4
+checksums               sha1    68e0a0a11ee6cb29fb5a23b8ce4f0550b9949010 \
+                        rmd160  05a9be04594755537f97c7fdca855f3909e2c543
 
-python.versions         26 27
+python.versions         26 27 32
 
 if {${subport} != ${name}} {
 
@@ -31,8 +31,15 @@
                         port:py${python.version}-pyfits \
                         port:py${python.version}-numpy \
                         port:py${python.version}-scipy \
-                        port:py${python.version}-matplotlib \
+                        port:py${python.version}-matplotlib
+
+    if {[expr ${python.branch} < 3]} { 
+        depends_lib-append \
                         port:py${python.version}-pil
+    } else {
+        depends_lib-append \
+                        port:py${python.version}-pillow
+    }
 
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130507/338ae8bb/attachment-0001.html>


More information about the macports-changes mailing list