diff options
author | sergei <sergei@FreeBSD.org> | 2005-04-25 20:10:42 +0800 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2005-04-25 20:10:42 +0800 |
commit | 9cb47dc546032521336b5930d6207890978e9391 (patch) | |
tree | 56d0a7dfb7a66d73ca06d478093ee552b0f7af8a | |
parent | 346c59c4e87a93032e8a5d7772aab37e2c09792d (diff) | |
download | freebsd-ports-graphics-9cb47dc546032521336b5930d6207890978e9391.tar.gz freebsd-ports-graphics-9cb47dc546032521336b5930d6207890978e9391.tar.zst freebsd-ports-graphics-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>
-rw-r--r-- | devel/pychecker/Makefile | 1 | ||||
-rw-r--r-- | devel/pychecker/files/patch-setup.py | 10 | ||||
-rw-r--r-- | devel/pychecker/pkg-plist | 7 |
3 files changed, 11 insertions, 7 deletions
diff --git a/devel/pychecker/Makefile b/devel/pychecker/Makefile index 41079af7b0e..40344c4c651 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 00000000000..d9493ee1b2e --- /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 951e971ac6a..6e0e37418a3 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 |