[96710] trunk/dports/python

blair at macports.org blair at macports.org
Fri Aug 17 13:07:22 PDT 2012


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

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

Modified: trunk/dports/python/py25-lint/Portfile
===================================================================
--- trunk/dports/python/py25-lint/Portfile	2012-08-17 19:58:37 UTC (rev 96709)
+++ trunk/dports/python/py25-lint/Portfile	2012-08-17 20:07:21 UTC (rev 96710)
@@ -6,6 +6,7 @@
 
 name                py25-lint
 version             0.25.2
+set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 categories-append   devel
 
 maintainers         dh openmaintainer
@@ -31,7 +32,8 @@
                     sha1    52b1a671bacc115a953b1e0d423ecbaf9064ce2e \
                     rmd160  2f40b7efa44617b994ae1057e0351577dddf400c
 
-depends_lib         port:py25-logilab-common port:py25-logilab-astng
+depends_lib         port:py${dotless_branch}-logilab-common \
+                    port:py${dotless_branch}-logilab-astng
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/python/py26-lint/Portfile
===================================================================
--- trunk/dports/python/py26-lint/Portfile	2012-08-17 19:58:37 UTC (rev 96709)
+++ trunk/dports/python/py26-lint/Portfile	2012-08-17 20:07:21 UTC (rev 96710)
@@ -6,6 +6,7 @@
 
 name                py26-lint
 version             0.25.2
+set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 categories-append   devel
 
 maintainers         dh openmaintainer
@@ -31,7 +32,8 @@
                     sha1    52b1a671bacc115a953b1e0d423ecbaf9064ce2e \
                     rmd160  2f40b7efa44617b994ae1057e0351577dddf400c
 
-depends_lib         port:py26-logilab-common port:py26-logilab-astng
+depends_lib         port:py${dotless_branch}-logilab-common \
+                    port:py${dotless_branch}-logilab-astng
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/python/py27-lint/Portfile
===================================================================
--- trunk/dports/python/py27-lint/Portfile	2012-08-17 19:58:37 UTC (rev 96709)
+++ trunk/dports/python/py27-lint/Portfile	2012-08-17 20:07:21 UTC (rev 96710)
@@ -6,6 +6,7 @@
 
 name                py27-lint
 version             0.25.2
+set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 categories-append   devel
 
 maintainers         stromnov openmaintainer
@@ -31,7 +32,8 @@
                     sha1    52b1a671bacc115a953b1e0d423ecbaf9064ce2e \
                     rmd160  2f40b7efa44617b994ae1057e0351577dddf400c
 
-depends_lib         port:py27-logilab-common port:py27-logilab-astng
+depends_lib         port:py${dotless_branch}-logilab-common \
+                    port:py${dotless_branch}-logilab-astng
 
 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/4305ad98/attachment.html>


More information about the macports-changes mailing list