2009-08-10 10:18:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.6 2009/08/10 14:18:30 sthen Exp $
|
2007-05-04 13:43:27 -04:00
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT-main= lint-like code checker for Python code
|
|
|
|
COMMENT-gui= GUI for pylint
|
2007-05-04 13:43:27 -04:00
|
|
|
|
|
|
|
VERSION= 0.13.1
|
|
|
|
DISTNAME= pylint-${VERSION}
|
2009-08-10 10:18:30 -04:00
|
|
|
PKGNAME-main= pylint-${VERSION}p3
|
2009-03-15 09:03:41 -04:00
|
|
|
PKGNAME-gui= pylint-gui-${VERSION}p1
|
2007-05-04 13:43:27 -04:00
|
|
|
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
|
|
|
|
|
2007-10-20 09:01:57 -04:00
|
|
|
pre-configure:
|
|
|
|
@rm ${WRKSRC}/test/input/func___future___import_not_first_stmt.py.orig
|
|
|
|
|
2007-05-04 13:43:27 -04:00
|
|
|
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>
|