[96705] trunk/dports/python/py24-logilab-astng/Portfile

blair at macports.org blair at macports.org
Fri Aug 17 11:38:55 PDT 2012


Revision: 96705
          https://trac.macports.org/changeset/96705
Author:   blair at macports.org
Date:     2012-08-17 11:38:55 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
py24-logilab-astng: use dotless form of ${python.branch} in depends.

Modified Paths:
--------------
    trunk/dports/python/py24-logilab-astng/Portfile

Modified: trunk/dports/python/py24-logilab-astng/Portfile
===================================================================
--- trunk/dports/python/py24-logilab-astng/Portfile	2012-08-17 18:33:21 UTC (rev 96704)
+++ trunk/dports/python/py24-logilab-astng/Portfile	2012-08-17 18:38:55 UTC (rev 96705)
@@ -6,6 +6,7 @@
 
 name                py24-logilab-astng
 version             0.21.1
+set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 platforms           darwin
 
 maintainers         dh openmaintainer
@@ -29,7 +30,7 @@
 
 patchfiles          patch-utils.py.diff
 
-depends_lib-append  port:py24-logilab-common
+depends_lib-append  port:py${dotless_branch}-logilab-common
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/94b00b3a/attachment.html>


More information about the macports-changes mailing list