# $Id: Portfile,v 1.10 2006/03/06 11:30:47 mww Exp $

PortSystem 1.0
PortGroup python24 1.0
name				py-lint
version				0.10.0
categories-append	devel
maintainers			darwinports@opendarwin.org
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}

checksums			sha1 c53e6556c8ed4a72c53175f24f427b5a5a897ab0

depends_lib-append	port:py-logilab-common

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
}

