# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup python 1.0 name py-pylint if {$subport != "py24-pylint"} { version 0.25.2 } else { version 0.21.1 revision 2 } set dotless_branch [join [lrange [split ${python.branch} .] 0 1] ""] categories-append devel 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 \ 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+ platforms darwin homepage http://www.logilab.org/projects/pylint/ master_sites http://ftp.logilab.org/pub/pylint/ distname pylint-${version} if {$subport != "py24-pylint"} { checksums md5 de940692e4fc9a71fcd9e1f13066e820 \ sha1 52b1a671bacc115a953b1e0d423ecbaf9064ce2e \ rmd160 2f40b7efa44617b994ae1057e0351577dddf400c } else { checksums md5 70f82198cde208b9118e81a43f3c7d80 \ sha1 e71ba47c1a54839a44f618d7cce5bd716b1a4987 \ rmd160 04ec7d4c9b89dd9ff8f41bc453e20c5648b374ea } python.versions 24 25 26 27 depends_lib port:py${dotless_branch}-logilab-common \ port:py${dotless_branch}-logilab-astng if {$subport != $name} { post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} eval xinstall -m 644 [glob ${worksrcpath}/doc/*] \ ${destroot}${prefix}/share/doc/${subport} xinstall -m 644 -W ${worksrcpath} ChangeLog README \ ${destroot}${prefix}/share/doc/${subport} file delete ${destroot}${python.pkgd}/logilab/__init__.py } } else { livecheck.url http://ftp.logilab.org/pub/pylint/ livecheck.type regex livecheck.regex {pylint-(\d+(?:\.\d+)*)\.tar\.gz} }