[77055] trunk/dports/python/py25-lint

stromnov at macports.org stromnov at macports.org
Fri Mar 18 12:03:54 PDT 2011


Revision: 77055
          http://trac.macports.org/changeset/77055
Author:   stromnov at macports.org
Date:     2011-03-18 12:03:54 -0700 (Fri, 18 Mar 2011)
Log Message:
-----------
py25-lint: sync with py26-lint

Modified Paths:
--------------
    trunk/dports/python/py25-lint/Portfile
    trunk/dports/python/py25-lint/files/patch-epylint.py.diff

Modified: trunk/dports/python/py25-lint/Portfile
===================================================================
--- trunk/dports/python/py25-lint/Portfile	2011-03-18 19:02:20 UTC (rev 77054)
+++ trunk/dports/python/py25-lint/Portfile	2011-03-18 19:03:54 UTC (rev 77055)
@@ -5,10 +5,11 @@
 PortGroup           python25 1.0
 
 name                py25-lint
-version             0.21.1
-revision            1
+version             0.23.0
 categories-append   devel
+
 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 \
@@ -24,9 +25,9 @@
 master_sites        http://ftp.logilab.org/pub/pylint/
 distname            pylint-${version}
 
-checksums           md5     70f82198cde208b9118e81a43f3c7d80 \
-                    sha1    e71ba47c1a54839a44f618d7cce5bd716b1a4987 \
-                    rmd160  04ec7d4c9b89dd9ff8f41bc453e20c5648b374ea
+checksums           md5     3c241b161b7e6826011cb8bde4fcf891 \
+                    sha1    d06e759693df4619233b8d386201f463be4a3663 \
+                    rmd160  645248e1e14fde37305f9a011b7e785ac0b765af
 
 depends_lib         port:py25-logilab-common port:py25-logilab-astng
 
@@ -42,16 +43,12 @@
         ${destroot}${prefix}/share/doc/${name}
     xinstall -m 644 -W ${worksrcpath} ChangeLog README \
         ${destroot}${prefix}/share/doc/${name}
-
-    # this file is also installed by py25-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}
+            file rename ${destroot}${prefix}/bin/${binfile} ${destroot}${prefix}/bin/${binfile}-${python.branch}
     }
 }
 
 livecheck.url       http://ftp.logilab.org/pub/pylint/
 livecheck.type      regex
-livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz} 
+livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz}

Modified: trunk/dports/python/py25-lint/files/patch-epylint.py.diff
===================================================================
--- trunk/dports/python/py25-lint/files/patch-epylint.py.diff	2011-03-18 19:02:20 UTC (rev 77054)
+++ trunk/dports/python/py25-lint/files/patch-epylint.py.diff	2011-03-18 19:03:54 UTC (rev 77055)
@@ -1,11 +1,11 @@
---- epylint.py	2010-06-05 02:19:46.000000000 +1200
-+++ epylint.py.new	2010-07-23 09:25:07.000000000 +1200
+--- epylint.py.orig	2011-03-15 15:58:03.000000000 +0300
++++ epylint.py	2011-03-15 15:58:58.000000000 +0300
 @@ -58,7 +58,7 @@
          parentPath = os.path.dirname(parentPath)
  
      # Start pylint
--    process = Popen("pylint -f parseable -r n --disable=C,R,I '%s'" %
-+    process = Popen("pylint-@@MPORTS_PYTHON_BRANCH@@ -f parseable -r n --disable=C,R,I '%s'" %
+-    process = Popen('pylint -f parseable -r n --disable=C,R,I "%s"' %
++    process = Popen('pylint-@@MPORTS_PYTHON_BRANCH@@ -f parseable -r n --disable=C,R,I "%s"' %
                      childPath, shell=True, stdout=PIPE, stderr=PIPE,
                      cwd=parentPath)
      p = process.stdout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110318/8aa6b77d/attachment.html>


More information about the macports-changes mailing list