Files
Lawrence Velázquez 34b3070336 Remove all $Id$ lines
for pf in */*/Portfile
do
    ed -s "$pf" <<-'EOF'
	1,3g/^[[:space:]]*#[[:space:]]*\$Id.*\$[[:space:]]*$/d
	1g/^[[:space:]]*$/d
	w
	q
	EOF
done
2016-12-28 18:14:04 +01:00

43 lines
1.6 KiB
Tcl

# -*- 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
PortSystem 1.0
PortGroup python 1.0
name py-pychecker
version 0.8.19
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.
homepage http://pychecker.sourceforge.net/
master_sites sourceforge:pychecker
distname pychecker-${version}
checksums sha1 acbc469b4ecde0182e9be42dceeae5375a923ff3 \
rmd160 7c401f3d2025dec1438c623b161359ef9721d0bf
python.versions 27
if {${name} ne ${subport}} {
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/${subport}
system "chmod -R a+r ${destroot}${prefix}"
}
}