[54830] trunk/dports/python/py-lint/Portfile

dh at macports.org dh at macports.org
Sun Aug 2 13:58:07 PDT 2009


Revision: 54830
          http://trac.macports.org/changeset/54830
Author:   dh at macports.org
Date:     2009-08-02 13:58:06 -0700 (Sun, 02 Aug 2009)
Log Message:
-----------
Version bump to 0.18

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

Modified: trunk/dports/python/py-lint/Portfile
===================================================================
--- trunk/dports/python/py-lint/Portfile	2009-08-02 20:53:26 UTC (rev 54829)
+++ trunk/dports/python/py-lint/Portfile	2009-08-02 20:58:06 UTC (rev 54830)
@@ -5,9 +5,9 @@
 PortGroup           python24 1.0
 
 name                py-lint
-version             0.16.0
+version             0.18.0
 categories-append   devel
-maintainers         dh
+maintainers         dh openmaintainer
 description         Error (and style) checking for python
 long_description \
     Pylint is a tool that checks for errors in python code, and tries to \
@@ -23,15 +23,15 @@
 master_sites        ftp://ftp.logilab.org/pub/pylint/
 distname            pylint-${version}
 
-livecheck.url       ${homepage}
+livecheck.url       http://ftp.logilab.org/pub/pylint/
 livecheck.check     regex
-livecheck.regex     "latest published version:.*<a.*?>(\\d+(?:\\.\\d+)*)</a>"
+livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz} 
 
-checksums           md5     28f894b98ee8ec985cf46075aab2bc9e \
-                    sha1    865bbf4c048200475698e2fde62405d7362efa5e \
-                    rmd160  076e93cd3e4b063535bcb1819d9a465c46b58ab1
+checksums           md5     2fb51eb37062aff094b104004ecd25a8 \
+                    sha1    5d54ae25c29cdcab7bdfaef87e5f5ed2cc183b75 \
+                    rmd160  271078a11b13291a78acea7fb8164976da3181b9
 
-depends_lib-append  port:py-logilab-astng port:py-logilab-common
+depends_lib         port:py-logilab-astng port:py-logilab-common
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
@@ -42,5 +42,10 @@
 
     # this file is also installed by py-logilab-common
     file delete ${destroot}${python.pkgd}/logilab/__init__.py
+
+    # there is no python.prefix variable for python25 and python24 portgroups
+    foreach binfile {epylint pylint pylint-gui pyreverse symilar} {
+        file rename ${destroot}${prefix}/bin/${binfile} ${destroot}${prefix}/bin/${binfile}-${python.branch}
+    }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090802/3d7f090b/attachment.html>


More information about the macports-changes mailing list