[101230] trunk/dports/python/py-pylint/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 6 09:03:07 PST 2013


Revision: 101230
          https://trac.macports.org/changeset/101230
Author:   ryandesign at macports.org
Date:     2013-01-06 09:03:07 -0800 (Sun, 06 Jan 2013)
Log Message:
-----------
py-pylint: replace custom dotless_branch variable with python.version which the python portgroup provides

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

Modified: trunk/dports/python/py-pylint/Portfile
===================================================================
--- trunk/dports/python/py-pylint/Portfile	2013-01-06 16:34:24 UTC (rev 101229)
+++ trunk/dports/python/py-pylint/Portfile	2013-01-06 17:03:07 UTC (rev 101230)
@@ -11,7 +11,6 @@
     version         0.21.1
     revision        2
 }
-set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
 categories-append   devel
 
 maintainers         blair dh openmaintainer stromnov
@@ -46,11 +45,11 @@
 python.versions 24 25 26 27
 
 if {$subport != $name} {
-    depends_lib     port:py${dotless_branch}-logilab-common \
-                    port:py${dotless_branch}-logilab-astng
+    depends_lib     port:py${python.version}-logilab-common \
+                    port:py${python.version}-logilab-astng
 
     if {$subport != "py24-pylint"} {
-        depends_lib-append  port:py${dotless_branch}-unittest2
+        depends_lib-append  port:py${python.version}-unittest2
     }
 
     post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130106/99c033c6/attachment.html>


More information about the macports-changes mailing list