[89255] trunk/dports/python/py-gdal/Portfile

and.damore at macports.org and.damore at macports.org
Sun Jan 22 00:50:36 PST 2012


Revision: 89255
          http://trac.macports.org/changeset/89255
Author:   and.damore at macports.org
Date:     2012-01-22 00:50:36 -0800 (Sun, 22 Jan 2012)
Log Message:
-----------
port py-gdal: always using subport version in dependency

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

Modified: trunk/dports/python/py-gdal/Portfile
===================================================================
--- trunk/dports/python/py-gdal/Portfile	2012-01-22 07:35:48 UTC (rev 89254)
+++ trunk/dports/python/py-gdal/Portfile	2012-01-22 08:50:36 UTC (rev 89255)
@@ -23,13 +23,8 @@
 python.versions     24 25 26 27 
 
 if {$subport != $name} {
-    depends_lib     port:gdal 
-
-    if {${python.version} != 24} { 
-        depends_lib-append  port:py${python.version}-numpy
-    } else {
-        depends_lib-append  port:py-numpy
-    }
+    depends_lib-append     port:gdal \
+                           port:py${python.version}-numpy
 }
 
 patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120122/75a20b8a/attachment.html>


More information about the macports-changes mailing list