2011-09-16 17:47:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2011/09/16 21:47:41 jasper 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
|
|
|
|
2011-08-31 08:42:24 -04:00
|
|
|
VERSION= 0.24.0
|
2007-05-04 13:43:27 -04:00
|
|
|
DISTNAME= pylint-${VERSION}
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME-main= pylint-${VERSION}
|
|
|
|
PKGNAME-gui= pylint-gui-${VERSION}
|
2011-09-16 17:47:41 -04:00
|
|
|
REVISION-main = 1
|
2011-09-16 05:24:48 -04:00
|
|
|
REVISION-gui = 0
|
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
|
2010-11-15 14:45:56 -05:00
|
|
|
RUN_DEPENDS= devel/py-logilab-astng
|
2007-05-04 13:43:27 -04:00
|
|
|
RUN_DEPENDS-gui= ${MODPY_TKINTER_DEPENDS} \
|
2010-11-26 02:18:59 -05:00
|
|
|
devel/pylint=${VERSION}
|
2011-08-31 08:42:24 -04:00
|
|
|
REGRESS_DEPENDS= ${RUN_DEPENDS}
|
2007-10-20 09:01:57 -04:00
|
|
|
|
2011-09-16 17:47:41 -04:00
|
|
|
SUBST_VARS+= VERSION
|
|
|
|
|
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} \
|
2011-08-31 08:42:24 -04:00
|
|
|
${MODPY_BIN} /usr/local/bin/pytest
|
2007-05-04 13:43:27 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|