[130307] trunk/dports/python/py-checker/Portfile
Revision: 130307 https://trac.macports.org/changeset/130307 Author: larryv@macports.org Date: 2014-12-29 17:46:28 -0800 (Mon, 29 Dec 2014) Log Message: ----------- py-checker: Rearrange and reformat Modified Paths: -------------- trunk/dports/python/py-checker/Portfile Modified: trunk/dports/python/py-checker/Portfile =================================================================== --- trunk/dports/python/py-checker/Portfile 2014-12-30 01:46:26 UTC (rev 130306) +++ trunk/dports/python/py-checker/Portfile 2014-12-30 01:46:28 UTC (rev 130307) @@ -1,40 +1,40 @@ # -*- 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 +PortSystem 1.0 +PortGroup python 1.0 -name py-checker -version 0.8.18 -revision 1 -license BSD -maintainers nomaintainer -platforms darwin freebsd -supported_archs noarch -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. +name py-checker +version 0.8.18 +revision 1 +platforms darwin freebsd +supported_archs noarch +license BSD +maintainers nomaintainer -homepage http://pychecker.sourceforge.net/ +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 +distname pychecker-${version} +checksums md5 ef156a631df46de150a364912f2e36c8 -python.versions 24 25 26 27 +python.versions 24 25 26 27 if {${name} ne ${subport}} { patchfiles patch-setup.py.diff - post-patch { + post-patch { reinplace "s|PYTHONLIB|${python.pkgd}|g" ${worksrcpath}/setup.py } - post-destroot { + post-destroot { xinstall -m 644 -W ${worksrcpath} CHANGELOG COPYRIGHT KNOWN_BUGS \ MAINTAINERS README TODO VERSION pycheckrc \ ${destroot}${prefix}/share/doc/${subport}
participants (1)
-
larryv@macports.org