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

stromnov at macports.org stromnov at macports.org
Wed Aug 28 03:32:32 PDT 2013


Revision: 110200
          https://trac.macports.org/changeset/110200
Author:   stromnov at macports.org
Date:     2013-08-28 03:32:32 -0700 (Wed, 28 Aug 2013)
Log Message:
-----------
py-pylint: update to version 1.0.0

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

Modified: trunk/dports/python/py-pylint/Portfile
===================================================================
--- trunk/dports/python/py-pylint/Portfile	2013-08-28 10:26:22 UTC (rev 110199)
+++ trunk/dports/python/py-pylint/Portfile	2013-08-28 10:32:32 UTC (rev 110200)
@@ -6,7 +6,7 @@
 PortGroup           select 1.0
 
 name                py-pylint
-version             0.28.0
+version             1.0.0
 revision            0
 categories-append   devel
 platforms           darwin
@@ -32,8 +32,8 @@
 
 distname            pylint-${version}
 
-checksums           rmd160  b806658fb7338138a73a778511a65ac1fbe9deed \
-                    sha256  ea6c3fdc416b359a31d84c6e34dbe29730ec6c21e6316e982f38d0fb9186e780
+checksums           rmd160  fb9f7cd0cc01378281e9b4070ab8d422f0585967 \
+                    sha256  5ccd5b2783f05c7747d3a36b1d5540b95f17547d5cfa43c5136661cafbd32113
 
 if {$subport == "py24-pylint"} {
     version             0.21.1
@@ -43,20 +43,38 @@
                         sha256  958acb89be51bf1e093c1e83080ef22bea8f01f30499af71c7444fd4a5e90c71
 }
 
+if {$subport == "py25-pylint"} {
+    version             0.28.0
+    revision            3
+    distname            pylint-${version}
+    checksums           rmd160  b806658fb7338138a73a778511a65ac1fbe9deed \
+                        sha256  ea6c3fdc416b359a31d84c6e34dbe29730ec6c21e6316e982f38d0fb9186e780
+}
+
 if {$subport != $name} {
     depends_build-append \
                         port:py${python.version}-setuptools
 
     depends_lib-append  port:py${python.version}-logilab-common \
-                        port:py${python.version}-logilab-astng
+                        port:py${python.version}-astroid
 
+    if {$subport == "py24-pylint" || $subport == "py25-pylint"} {
+        depends_lib-delete  port:py${python.version}-astroid
+        depends_lib-append  port:py${python.version}-logilab-astng
+    }
+
     depends_run-append  port:pylint_select
 
     post-destroot {
         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
         if {[file exists ${worksrcpath}/doc]} {
-            eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
+            eval xinstall -m 644 [glob -types f ${worksrcpath}/doc/*] \
                 ${destroot}${prefix}/share/doc/${subport}
+            if {[file exists ${worksrcpath}/doc/_static]} {
+                xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}/_static
+                eval xinstall -m 644 [glob -types f ${worksrcpath}/doc/_static/*] \
+                    ${destroot}${prefix}/share/doc/${subport}/_static
+            }
         }
         xinstall -m 644 -W ${worksrcpath} ChangeLog README \
             ${destroot}${prefix}/share/doc/${subport}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130828/7b2f7ac8/attachment.html>


More information about the macports-changes mailing list