# -*- 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 python25 1.0 name py25-lint version 0.18.0 revision 1 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 \ 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/projects/pylint/ master_sites ftp://ftp.logilab.org/pub/pylint/ distname pylint-${version} livecheck.url http://ftp.logilab.org/pub/pylint/ livecheck.check regex livecheck.regex {pylint-(\d+(?:\.\d+)*)\.tar\.gz} checksums md5 2fb51eb37062aff094b104004ecd25a8 \ sha1 5d54ae25c29cdcab7bdfaef87e5f5ed2cc183b75 \ rmd160 271078a11b13291a78acea7fb8164976da3181b9 depends_lib port:py25-logilab-common port:py25-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 TODO \ ${destroot}${prefix}/share/doc/${name} 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} } }