[96727] trunk/dports/python

blair at macports.org blair at macports.org
Fri Aug 17 15:53:48 PDT 2012


Revision: 96727
          https://trac.macports.org/changeset/96727
Author:   blair at macports.org
Date:     2012-08-17 15:53:48 -0700 (Fri, 17 Aug 2012)
Log Message:
-----------
py{,25,26,27}-lint: make obsolete, subsumed by py2{4,5,6,7}-pylint.

Tried to replace py-lint with a Python subport that would be
replaced_by the corrrepsonding py2?-pylint, but this didn't work.

Modified Paths:
--------------
    trunk/dports/python/py-lint/Portfile
    trunk/dports/python/py25-lint/Portfile
    trunk/dports/python/py26-lint/Portfile
    trunk/dports/python/py27-lint/Portfile

Modified: trunk/dports/python/py-lint/Portfile
===================================================================
--- trunk/dports/python/py-lint/Portfile	2012-08-17 22:49:12 UTC (rev 96726)
+++ trunk/dports/python/py-lint/Portfile	2012-08-17 22:53:48 UTC (rev 96727)
@@ -2,13 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python24 1.0
 
 name                py-lint
 version             0.21.1
-revision            2
+revision            3
+replaced_by         py24-pylint
 categories-append   devel
-maintainers         dh openmaintainer
+maintainers         blair dh openmaintainer stromnov
 description         Error (and style) checking for python
 long_description \
     Pylint is a tool that checks for errors in python code, and tries to \
@@ -23,37 +23,9 @@
 platforms           darwin
 
 homepage            http://www.logilab.org/projects/pylint/
-master_sites        http://ftp.logilab.org/pub/pylint/
-distname            pylint-${version}
+distfiles
 
-checksums           md5     70f82198cde208b9118e81a43f3c7d80 \
-                    sha1    e71ba47c1a54839a44f618d7cce5bd716b1a4987 \
-                    rmd160  04ec7d4c9b89dd9ff8f41bc453e20c5648b374ea
-
-depends_lib         port:py24-logilab-astng port:py24-logilab-common
-
-patchfiles          patch-epylint.py.diff
-
-post-patch {
-    reinplace "s|@@MPORTS_PYTHON_BRANCH@@|${python.branch}|" ${worksrcpath}/epylint.py
+pre-configure {
+    ui_error "Please install py24-pylint instead."
+    return -code error "obsolete port"
 }
-
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
-        ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
-        ${destroot}${prefix}/share/doc/${name}
-
-    # 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}
-    }
-}
-
-livecheck.url       http://ftp.logilab.org/pub/pylint/
-livecheck.type      regex
-livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz} 

Modified: trunk/dports/python/py25-lint/Portfile
===================================================================
--- trunk/dports/python/py25-lint/Portfile	2012-08-17 22:49:12 UTC (rev 96726)
+++ trunk/dports/python/py25-lint/Portfile	2012-08-17 22:53:48 UTC (rev 96727)
@@ -2,15 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python25 1.0
 
 name                py25-lint
-version             0.25.2
-set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
+version             0.21.1
+revision            3
+replaced_by         py25-pylint
 categories-append   devel
-
-maintainers         dh openmaintainer
-
+maintainers         blair dh openmaintainer stromnov
 description         Error (and style) checking for python
 long_description \
     Pylint is a tool that checks for errors in python code, and tries to \
@@ -25,25 +23,9 @@
 platforms           darwin
 
 homepage            http://www.logilab.org/projects/pylint/
-master_sites        http://ftp.logilab.org/pub/pylint/
-distname            pylint-${version}
+distfiles
 
-checksums           md5     de940692e4fc9a71fcd9e1f13066e820 \
-                    sha1    52b1a671bacc115a953b1e0d423ecbaf9064ce2e \
-                    rmd160  2f40b7efa44617b994ae1057e0351577dddf400c
-
-depends_lib         port:py${dotless_branch}-logilab-common \
-                    port:py${dotless_branch}-logilab-astng
-
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
-        ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
-        ${destroot}${prefix}/share/doc/${name}
-    file delete ${destroot}${python.pkgd}/logilab/__init__.py
+pre-configure {
+    ui_error "Please install py25-pylint instead."
+    return -code error "obsolete port"
 }
-
-livecheck.url       http://ftp.logilab.org/pub/pylint/
-livecheck.type      regex
-livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz}

Modified: trunk/dports/python/py26-lint/Portfile
===================================================================
--- trunk/dports/python/py26-lint/Portfile	2012-08-17 22:49:12 UTC (rev 96726)
+++ trunk/dports/python/py26-lint/Portfile	2012-08-17 22:53:48 UTC (rev 96727)
@@ -2,15 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python26 1.0
 
 name                py26-lint
-version             0.25.2
-set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
+version             0.21.1
+revision            3
+replaced_by         py26-pylint
 categories-append   devel
-
-maintainers         dh openmaintainer
-
+maintainers         blair dh openmaintainer stromnov
 description         Error (and style) checking for python
 long_description \
     Pylint is a tool that checks for errors in python code, and tries to \
@@ -25,25 +23,9 @@
 platforms           darwin
 
 homepage            http://www.logilab.org/projects/pylint/
-master_sites        http://ftp.logilab.org/pub/pylint/
-distname            pylint-${version}
+distfiles
 
-checksums           md5     de940692e4fc9a71fcd9e1f13066e820 \
-                    sha1    52b1a671bacc115a953b1e0d423ecbaf9064ce2e \
-                    rmd160  2f40b7efa44617b994ae1057e0351577dddf400c
-
-depends_lib         port:py${dotless_branch}-logilab-common \
-                    port:py${dotless_branch}-logilab-astng
-
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
-        ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
-        ${destroot}${prefix}/share/doc/${name}
-    file delete ${destroot}${python.pkgd}/logilab/__init__.py
+pre-configure {
+    ui_error "Please install py26-pylint instead."
+    return -code error "obsolete port"
 }
-
-livecheck.url       http://ftp.logilab.org/pub/pylint/
-livecheck.type      regex
-livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz}

Modified: trunk/dports/python/py27-lint/Portfile
===================================================================
--- trunk/dports/python/py27-lint/Portfile	2012-08-17 22:49:12 UTC (rev 96726)
+++ trunk/dports/python/py27-lint/Portfile	2012-08-17 22:53:48 UTC (rev 96727)
@@ -2,15 +2,13 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python27 1.0
 
 name                py27-lint
-version             0.25.2
-set dotless_branch  [join [lrange [split ${python.branch} .] 0 1] ""]
+version             0.21.1
+revision            3
+replaced_by         py27-pylint
 categories-append   devel
-
-maintainers         stromnov openmaintainer
-
+maintainers         blair dh openmaintainer stromnov
 description         Error (and style) checking for python
 long_description \
     Pylint is a tool that checks for errors in python code, and tries to \
@@ -25,25 +23,9 @@
 platforms           darwin
 
 homepage            http://www.logilab.org/projects/pylint/
-master_sites        http://ftp.logilab.org/pub/pylint/
-distname            pylint-${version}
+distfiles
 
-checksums           md5     de940692e4fc9a71fcd9e1f13066e820 \
-                    sha1    52b1a671bacc115a953b1e0d423ecbaf9064ce2e \
-                    rmd160  2f40b7efa44617b994ae1057e0351577dddf400c
-
-depends_lib         port:py${dotless_branch}-logilab-common \
-                    port:py${dotless_branch}-logilab-astng
-
-post-destroot {
-    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-    eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \
-        ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} ChangeLog README \
-        ${destroot}${prefix}/share/doc/${name}
-    file delete ${destroot}${python.pkgd}/logilab/__init__.py
+pre-configure {
+    ui_error "Please install py27-pylint instead."
+    return -code error "obsolete port"
 }
-
-livecheck.url       http://ftp.logilab.org/pub/pylint/
-livecheck.type      regex
-livecheck.regex     {pylint-(\d+(?:\.\d+)*)\.tar\.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120817/cd9c3040/attachment.html>


More information about the macports-changes mailing list