aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pylint
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2007-07-30 17:42:28 +0800
committeralexbl <alexbl@FreeBSD.org>2007-07-30 17:42:28 +0800
commit7d749db4cf14f30613e9a53a08ffa3d3b4575146 (patch)
treead9062005432bbf28f5cce4ad3a1cd32a59dba69 /devel/pylint
parent8e2da239f74a82ad1c98b69bd27abb3f4e40ecf3 (diff)
downloadfreebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.tar.gz
freebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.tar.zst
freebsd-ports-gnome-7d749db4cf14f30613e9a53a08ffa3d3b4575146.zip
- Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
Diffstat (limited to 'devel/pylint')
-rw-r--r--devel/pylint/Makefile10
-rw-r--r--devel/pylint/pkg-plist4
2 files changed, 11 insertions, 3 deletions
diff --git a/devel/pylint/Makefile b/devel/pylint/Makefile
index 53c5967c85e3..8dc9237d79fc 100644
--- a/devel/pylint/Makefile
+++ b/devel/pylint/Makefile
@@ -25,4 +25,12 @@ pre-everything::
@${ECHO_CMD} "You may want to install x11-toolkits/py-tkinter to make pylint-gui work."
@${ECHO_CMD} ""
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 250
+PLIST_SUB+= NOPY25=""
+.else
+PLIST_SUB+= NOPY25="@comment "
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/pylint/pkg-plist b/devel/pylint/pkg-plist
index 955a021c0468..be9c695535fc 100644
--- a/devel/pylint/pkg-plist
+++ b/devel/pylint/pkg-plist
@@ -92,8 +92,8 @@ bin/symilar
%%PYTHON_SITELIBDIR%%/pylint/test/input/__init__.pyc
%%PYTHON_SITELIBDIR%%/pylint/test/input/__init__.pyo
%%PYTHON_SITELIBDIR%%/pylint/test/input/func___future___import_not_first_stmt.py
-%%PYTHON_SITELIBDIR%%/pylint/test/input/func___future___import_not_first_stmt.pyc
-%%PYTHON_SITELIBDIR%%/pylint/test/input/func___future___import_not_first_stmt.pyo
+%%NOPY25%%%%PYTHON_SITELIBDIR%%/pylint/test/input/func___future___import_not_first_stmt.pyc
+%%NOPY25%%%%PYTHON_SITELIBDIR%%/pylint/test/input/func___future___import_not_first_stmt.pyo
%%PYTHON_SITELIBDIR%%/pylint/test/input/func___name___access.py
%%PYTHON_SITELIBDIR%%/pylint/test/input/func___name___access.pyc
%%PYTHON_SITELIBDIR%%/pylint/test/input/func___name___access.pyo