# $Id: Portfile 86762 2011-11-03 02:38:49Z jmr@macports.org $ PortSystem 1.0 PortGroup python26 1.0 name py26-checker version 0.8.18 license BSD maintainers nomaintainer platforms darwin freebsd description python source code checker for finding bugs long_description PyChecker is a tool for finding bugs in python source \ code. It finds problems that are typically \ caught by a compiler for less dynamic \ languages, like C and C++. It is similar to \ lint. Because of the dynamic nature of \ python, some warnings may be incorrect. \ However, spurious warnings should be fairly \ infrequent. homepage http://pychecker.sourceforge.net/ master_sites sourceforge:pychecker distname pychecker-${version} checksums md5 ef156a631df46de150a364912f2e36c8 \ sha1 fae410ab70523dfc8077eeb0fbf4ad11dee4a5f5 \ rmd160 e3d30443c955757cb67353888df41a10f8e8eece patchfiles patch-setup.py.diff post-patch { reinplace "s|PYTHONLIB|${python.pkgd}|g" ${worksrcpath}/setup.py } post-destroot { xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYRIGHT KNOWN_BUGS \ MAINTAINERS README TODO VERSION pycheckrc \ ${destroot}${prefix}/share/doc/${name} system "chmod -R a+r ${destroot}${prefix}" }