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

stromnov at macports.org stromnov at macports.org
Sun Aug 25 14:07:53 PDT 2013


Revision: 110065
          https://trac.macports.org/changeset/110065
Author:   stromnov at macports.org
Date:     2013-08-25 14:07:53 -0700 (Sun, 25 Aug 2013)
Log Message:
-----------
py-pylint: reformat

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

Modified: trunk/dports/python/py-pylint/Portfile
===================================================================
--- trunk/dports/python/py-pylint/Portfile	2013-08-25 20:53:53 UTC (rev 110064)
+++ trunk/dports/python/py-pylint/Portfile	2013-08-25 21:07:53 UTC (rev 110065)
@@ -6,51 +6,52 @@
 PortGroup           select 1.0
 
 name                py-pylint
-if {$subport != "py24-pylint"} {
-    version         0.26.0
-    revision        1
-} else {
-    version         0.21.1
-    revision        3
-}
+version             0.26.0
+revision            1
 categories-append   devel
+platforms           darwin
+license             GPL-2+
+supported_archs     noarch
 
-maintainers         blair dh openmaintainer stromnov
+python.versions     24 25 26 27
 
+maintainers         blair dh stromnov openmaintainer
+
 description         Error (and style) checking for python
-long_description \
-    Pylint is a tool that checks for errors in python code, and tries to \
-    check that a given coding standard is respected by the coders. This is \
-    similar but nevertheless different from what pychecker_ provides, \
-    especially since pychecker explicitely does not bother with coding \
-    style. The default coding style used by pylint is close to `Guido's \
-    style guide`_.
 
-license             GPL-2+
+long_description    Pylint is a tool that checks for errors in python code, \
+                    and tries to check that a given coding standard \
+                    is respected by the coders. This is similar but \
+                    nevertheless different from what pychecker_ provides, \
+                    especially since pychecker explicitely does not bother \
+                    with coding style. The default coding style used \
+                    by pylint is close to `Guido's style guide`_.
 
-platforms           darwin
-
 homepage            http://www.logilab.org/project/pylint
 master_sites        http://ftp.logilab.org/pub/pylint/
+
 distname            pylint-${version}
 
-if {$subport != "py24-pylint"} {
-    checksums       md5     8e320a0f162fb7685b15e3d90fff501a \
-                    sha1    5dcc07d622b4ff7d5751523fe0161989e463ffe6 \
-                    rmd160  9b94f28f2d72d6ddbf26b7a00478f5235d4a0210
-} else {
-    checksums       md5     70f82198cde208b9118e81a43f3c7d80 \
-                    sha1    e71ba47c1a54839a44f618d7cce5bd716b1a4987 \
-                    rmd160  04ec7d4c9b89dd9ff8f41bc453e20c5648b374ea
+checksums           rmd160  9b94f28f2d72d6ddbf26b7a00478f5235d4a0210 \
+                    sha256  6520fcd528eb4331fe252d7d6f1f777cc4ce7bb11c0a3dcca6934e202ff7e1d5
+
+if {$subport == "py24-pylint"} {
+    version             0.21.1
+    revision            3
+    distname            pylint-${version}
+    checksums           rmd160  04ec7d4c9b89dd9ff8f41bc453e20c5648b374ea \
+                        sha256  958acb89be51bf1e093c1e83080ef22bea8f01f30499af71c7444fd4a5e90c71
 }
 
-python.versions 24 25 26 27
-
 if {$subport != $name} {
-    depends_lib     port:py${python.version}-logilab-common \
-                    port:py${python.version}-logilab-astng
-    depends_run     port:pylint_select
+    depends_build-append \
+                        port:py${python.version}-setuptools
 
+    depends_lib-append  port:py${python.version}-logilab-common \
+                        port:py${python.version}-logilab-astng
+
+    depends_run-append  port:pylint_select
+
     if {$subport != "py24-pylint"} {
         depends_lib-append  port:py${python.version}-unittest2
     }
@@ -73,8 +74,10 @@
 
 port select --set ${select.group} [file tail ${select.file}]
 "
+
+    livecheck.type      none
 } else {
-    livecheck.url   http://ftp.logilab.org/pub/pylint/
-    livecheck.type  regex
-    livecheck.regex {pylint-(\d+(?:\.\d+)*)\.tar\.gz}
+    livecheck.url       http://ftp.logilab.org/pub/pylint/
+    livecheck.type      regex
+    livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.[tz]}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130825/509749ba/attachment.html>


More information about the macports-changes mailing list