[96700] trunk/dports/python

blair at macports.org blair at macports.org
Fri Aug 17 11:21:08 PDT 2012


Revision: 96700
          https://trac.macports.org/changeset/96700
Author:   blair at macports.org
Date:     2012-08-17 11:21:06 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
py2{5,6,7}: convert ${python.branch} to dotless form to use in depends.

Modified Paths:
--------------
    trunk/dports/python/py25-logilab-astng/Portfile
    trunk/dports/python/py26-logilab-astng/Portfile
    trunk/dports/python/py27-logilab-astng/Portfile

Modified: trunk/dports/python/py25-logilab-astng/Portfile
===================================================================
--- trunk/dports/python/py25-logilab-astng/Portfile	2012-08-17 18:04:30 UTC (rev 96699)
+++ trunk/dports/python/py25-logilab-astng/Portfile	2012-08-17 18:21:06 UTC (rev 96700)
@@ -6,6 +6,7 @@
 
 name                py25-logilab-astng
 version             0.24.0
+set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 platforms           darwin
 
 maintainers         nomaintainer
@@ -27,7 +28,7 @@
                     sha1    7883e6b87ae9defa33feb469924fcd9943214036 \
                     rmd160  b545a2862e48e75d19207c872881c26b5c714baf
 
-depends_lib-append  port:py25-logilab-common
+depends_lib-append  port:py${dotless_branch}-logilab-common
 
 # Fix files not being world-readable.
 post-extract {

Modified: trunk/dports/python/py26-logilab-astng/Portfile
===================================================================
--- trunk/dports/python/py26-logilab-astng/Portfile	2012-08-17 18:04:30 UTC (rev 96699)
+++ trunk/dports/python/py26-logilab-astng/Portfile	2012-08-17 18:21:06 UTC (rev 96700)
@@ -6,6 +6,7 @@
 
 name                py26-logilab-astng
 version             0.24.0
+set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 platforms           darwin
 
 maintainers         dh openmaintainer
@@ -27,7 +28,7 @@
                     sha1    7883e6b87ae9defa33feb469924fcd9943214036 \
                     rmd160  b545a2862e48e75d19207c872881c26b5c714baf
 
-depends_lib-append  port:py26-logilab-common
+depends_lib-append  port:py${dotless_branch}-logilab-common
 
 # Fix files not being world-readable.
 post-extract {

Modified: trunk/dports/python/py27-logilab-astng/Portfile
===================================================================
--- trunk/dports/python/py27-logilab-astng/Portfile	2012-08-17 18:04:30 UTC (rev 96699)
+++ trunk/dports/python/py27-logilab-astng/Portfile	2012-08-17 18:21:06 UTC (rev 96700)
@@ -6,6 +6,7 @@
 
 name                py27-logilab-astng
 version             0.24.0
+set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 platforms           darwin
 
 maintainers         stromnov openmaintainer
@@ -27,7 +28,7 @@
                     sha1    7883e6b87ae9defa33feb469924fcd9943214036 \
                     rmd160  b545a2862e48e75d19207c872881c26b5c714baf
 
-depends_lib-append  port:py27-logilab-common
+depends_lib-append  port:py${dotless_branch}-logilab-common
 
 # Fix files not being world-readable.
 post-extract {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/6e49851c/attachment.html>


More information about the macports-changes mailing list