[92592] trunk/dports/python/py-blist/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue May 1 15:50:40 PDT 2012


Revision: 92592
          https://trac.macports.org/changeset/92592
Author:   ryandesign at macports.org
Date:     2012-05-01 15:50:38 -0700 (Tue, 01 May 2012)
Log Message:
-----------
py-blist: simplify setting dependencies

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

Modified: trunk/dports/python/py-blist/Portfile
===================================================================
--- trunk/dports/python/py-blist/Portfile	2012-05-01 22:25:01 UTC (rev 92591)
+++ trunk/dports/python/py-blist/Portfile	2012-05-01 22:50:38 UTC (rev 92592)
@@ -28,10 +28,9 @@
 
 if {$subport != $name} {
 
-    if {$subport == "py24-blist"} {
-        depends_lib     port:py24-distribute port:py-ctypes
-    } else {
-        depends_lib     port:py${python.version}-distribute
+    depends_lib-append  port:py${python.version}-distribute
+    if {${python.version} == "24"} {
+        depends_lib-append  port:py-ctypes
     }
 
     post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120501/33adf556/attachment.html>


More information about the macports-changes mailing list