b2f2c906f2
Pylint is a lint-like tool for Python code. It performs almost all the verifications that pychecker does, and additionally can perform some stylistic verification and coding standard enforcements. The checked code is assigned a mark based on the number and the severity of the encountered problems. The previous mark of a given piece of code is cached so that you can see if the code quality has improved since the last check. From Andreas Bihlmaier <andreas.bihlmaier@gmx.de> With help and one okey from bernd@ and steven@
41 lines
1007 B
Makefile
41 lines
1007 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2007/05/04 17:43:27 alek Exp $
|
|
|
|
COMMENT-main= "lint-like code checker for Python code"
|
|
COMMENT-gui= "GUI for pylint"
|
|
|
|
VERSION= 0.13.1
|
|
DISTNAME= pylint-${VERSION}
|
|
PKGNAME-main= pylint-${VERSION}
|
|
PKGNAME-gui= pylint-gui-${VERSION}
|
|
CATEGORIES= devel
|
|
|
|
HOMEPAGE= http://www.logilab.org/projects/pylint/
|
|
|
|
MAINTAINER= Andreas Bihlmaier <andreas.bihlmaier@gmx.de>
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ftp://ftp.logilab.fr/pub/pylint/
|
|
|
|
MULTI_PACKAGES= -main -gui
|
|
|
|
MODULES= lang/python
|
|
RUN_DEPENDS= :py-logilab-astng-*:devel/py-logilab-astng
|
|
RUN_DEPENDS-gui= ${MODPY_TKINTER_DEPENDS} \
|
|
:pylint-${VERSION}:devel/pylint
|
|
REGRESS_DEPENDS= ${RUN_DEPENDS} \
|
|
::math/py-Numeric
|
|
|
|
do-regress: fake
|
|
cd ${WRKSRC}/test && env \
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG}:${MODPY_SITEPKG} \
|
|
PYLINTHOME=${WRKINST} \
|
|
USER_HOME=${WRKSRC} \
|
|
${MODPY_BIN} ./runtests.py
|
|
|
|
.include <bsd.port.mk>
|