aboutsummaryrefslogtreecommitdiff
path: root/devel/pylint/Makefile
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-01-06 12:43:28 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-01-06 12:43:28 +0000
commitc4e05d32b92004dc69dcff1586d49ad1b79a2c56 (patch)
treed79364e70759bb19b8731f27d7620eec2812d5c0 /devel/pylint/Makefile
parent7aab84fcd29e1eb2853100443425551475f63ff8 (diff)
Notes
Diffstat (limited to 'devel/pylint/Makefile')
-rw-r--r--devel/pylint/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile
index 49087a07e351..e5bd4c6385b2 100644
--- a/devel/pylint/Makefile
+++ b/devel/pylint/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pylint
-PORTVERSION= 0.11.0
-PORTREVISION= 1
+PORTVERSION= 0.12.2
CATEGORIES= devel python
MASTER_SITES= ftp://ftp.logilab.org/pub/pylint/
PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX}
@@ -18,6 +17,17 @@ COMMENT= Analyzes python source code looking for bugs and signs of poor quality
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/logilab/astng/__init__.py:${PORTSDIR}/devel/py-astng
USE_PYTHON= yes
-USE_PYDISTUTILS=yes
+USE_PYDISTUTILS= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 230
+RUN_DEPENDS+= ${PYTHONPREFIX_SITELIBDIR}/optparse.py:${PORTSDIR}/devel/py-optik
+.endif
+
+pre-everything::
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "You may want to install x11-toolkits/py-tkinter to make pylint-gui work."
+ @${ECHO_CMD} ""
+
+.include <bsd.port.post.mk>