aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsergei <sergei@FreeBSD.org>2005-04-25 20:10:42 +0800
committersergei <sergei@FreeBSD.org>2005-04-25 20:10:42 +0800
commit9cb47dc546032521336b5930d6207890978e9391 (patch)
tree56d0a7dfb7a66d73ca06d478093ee552b0f7af8a /devel
parent346c59c4e87a93032e8a5d7772aab37e2c09792d (diff)
downloadfreebsd-ports-gnome-9cb47dc546032521336b5930d6207890978e9391.tar.gz
freebsd-ports-gnome-9cb47dc546032521336b5930d6207890978e9391.tar.zst
freebsd-ports-gnome-9cb47dc546032521336b5930d6207890978e9391.zip
- It looks like pydistutils installation mechanism use different logic
depending on PREFIX used - e.g. /usr/local vs. /tmp Work around that by adding a patch to avoid installing docs via setup.py. We install docs via the port's Makefile instead. - Adjust pkg-plist accordingly (remove duplicate docs entries) - Bump PORTREVISION due to changed package PR: ports/79341 Submitted by: Radim Kolar <hsn@netmag.cz>
Diffstat (limited to 'devel')
-rw-r--r--devel/pychecker/Makefile1
-rw-r--r--devel/pychecker/files/patch-setup.py10
-rw-r--r--devel/pychecker/pkg-plist7
3 files changed, 11 insertions, 7 deletions
diff --git a/devel/pychecker/Makefile b/devel/pychecker/Makefile
index 41079af7b0ef..40344c4c6513 100644
--- a/devel/pychecker/Makefile
+++ b/devel/pychecker/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pychecker
PORTVERSION= 0.8.14
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/devel/pychecker/files/patch-setup.py b/devel/pychecker/files/patch-setup.py
new file mode 100644
index 000000000000..d9493ee1b2e2
--- /dev/null
+++ b/devel/pychecker/files/patch-setup.py
@@ -0,0 +1,10 @@
+--- setup.py.orig Mon Apr 25 15:50:35 2005
++++ setup.py Mon Apr 25 15:50:42 2005
+@@ -78,7 +78,6 @@ fairly infrequent."""
+ author_email = "pychecker@metaslash.com",
+ url = "http://pychecker.sourceforge.net/",
+ packages = [ 'pychecker' ],
+- data_files = [ (install_dir, DOC_FILES) ],
+ scripts = [ LOCAL_SCRIPT, ],
+ # classifiers was added in Python 2.3, but needed for PyPI
+ #classifiers = CLASSIFIERS,
diff --git a/devel/pychecker/pkg-plist b/devel/pychecker/pkg-plist
index 951e971ac6a7..6e0e37418a3d 100644
--- a/devel/pychecker/pkg-plist
+++ b/devel/pychecker/pkg-plist
@@ -1,12 +1,5 @@
@comment $FreeBSD$
bin/pychecker
-%%PYTHON_SITELIBDIR%%/pychecker/CHANGELOG
-%%PYTHON_SITELIBDIR%%/pychecker/COPYRIGHT
-%%PYTHON_SITELIBDIR%%/pychecker/KNOWN_BUGS
-%%PYTHON_SITELIBDIR%%/pychecker/MAINTAINERS
-%%PYTHON_SITELIBDIR%%/pychecker/README
-%%PYTHON_SITELIBDIR%%/pychecker/TODO
-%%PYTHON_SITELIBDIR%%/pychecker/VERSION
%%PYTHON_SITELIBDIR%%/pychecker/CodeChecks.py
%%PYTHON_SITELIBDIR%%/pychecker/CodeChecks.pyc
%%PYTHON_SITELIBDIR%%/pychecker/CodeChecks.pyo