diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-checker/Makefile | 8 | ||||
-rw-r--r-- | devel/py-checker/PLIST | 16 | ||||
-rw-r--r-- | devel/py-checker/distinfo | 10 | ||||
-rw-r--r-- | devel/py-checker/patches/patch-aa | 31 | ||||
-rw-r--r-- | devel/py-checker/patches/patch-ab | 13 |
5 files changed, 22 insertions, 56 deletions
diff --git a/devel/py-checker/Makefile b/devel/py-checker/Makefile index c8fc3d0cfbe..473f57e9f6a 100644 --- a/devel/py-checker/Makefile +++ b/devel/py-checker/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.15 2011/10/15 11:59:13 obache Exp $ +# $NetBSD: Makefile,v 1.16 2012/06/03 22:32:59 wiz Exp $ -DISTNAME= pychecker-0.8.14 +DISTNAME= pychecker-0.8.19 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} -PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pychecker/} @@ -16,7 +15,8 @@ PKG_DESTDIR_SUPPORT= user-destdir PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX:Q} PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} -EGG_NAME= PyChecker-${PKGVERSION_NOREV} +post-install: + ${MV} ${DESTDIR}${PREFIX}/bin/pychecker ${DESTDIR}${PREFIX}/bin/pychecker${PYVERSSUFFIX} .include "../../lang/python/distutils.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-checker/PLIST b/devel/py-checker/PLIST index 8e71a79ca6c..fac305c63a8 100644 --- a/devel/py-checker/PLIST +++ b/devel/py-checker/PLIST @@ -1,21 +1,29 @@ -@comment $NetBSD: PLIST,v 1.6 2012/04/08 20:21:45 wiz Exp $ -bin/pychecker${PYVERSSUFFIX} +@comment $NetBSD: PLIST,v 1.7 2012/06/03 22:32:59 wiz Exp $ +bin/pychecker2.7 ${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/pychecker/COPYRIGHT +${PYSITELIB}/pychecker/ChangeLog ${PYSITELIB}/pychecker/CodeChecks.py ${PYSITELIB}/pychecker/CodeChecks.pyc ${PYSITELIB}/pychecker/CodeChecks.pyo ${PYSITELIB}/pychecker/Config.py ${PYSITELIB}/pychecker/Config.pyc ${PYSITELIB}/pychecker/Config.pyo +${PYSITELIB}/pychecker/KNOWN_BUGS +${PYSITELIB}/pychecker/MAINTAINERS +${PYSITELIB}/pychecker/NEWS ${PYSITELIB}/pychecker/OP.py ${PYSITELIB}/pychecker/OP.pyc ${PYSITELIB}/pychecker/OP.pyo ${PYSITELIB}/pychecker/OptionTypes.py ${PYSITELIB}/pychecker/OptionTypes.pyc ${PYSITELIB}/pychecker/OptionTypes.pyo +${PYSITELIB}/pychecker/README ${PYSITELIB}/pychecker/Stack.py ${PYSITELIB}/pychecker/Stack.pyc ${PYSITELIB}/pychecker/Stack.pyo +${PYSITELIB}/pychecker/TODO +${PYSITELIB}/pychecker/VERSION ${PYSITELIB}/pychecker/Warning.py ${PYSITELIB}/pychecker/Warning.pyc ${PYSITELIB}/pychecker/Warning.pyo @@ -34,9 +42,13 @@ ${PYSITELIB}/pychecker/msgs.pyo ${PYSITELIB}/pychecker/options.py ${PYSITELIB}/pychecker/options.pyc ${PYSITELIB}/pychecker/options.pyo +${PYSITELIB}/pychecker/pcmodules.py +${PYSITELIB}/pychecker/pcmodules.pyc +${PYSITELIB}/pychecker/pcmodules.pyo ${PYSITELIB}/pychecker/printer.py ${PYSITELIB}/pychecker/printer.pyc ${PYSITELIB}/pychecker/printer.pyo +${PYSITELIB}/pychecker/pychecker.doap ${PYSITELIB}/pychecker/python.py ${PYSITELIB}/pychecker/python.pyc ${PYSITELIB}/pychecker/python.pyo diff --git a/devel/py-checker/distinfo b/devel/py-checker/distinfo index db2319d7648..5a5a2581e4a 100644 --- a/devel/py-checker/distinfo +++ b/devel/py-checker/distinfo @@ -1,7 +1,5 @@ -$NetBSD: distinfo,v 1.6 2006/10/22 07:58:33 rillig Exp $ +$NetBSD: distinfo,v 1.7 2012/06/03 22:32:59 wiz Exp $ -SHA1 (pychecker-0.8.14.tar.gz) = d03965d4799364adf7f48ef31967cf4dc6f978d6 -RMD160 (pychecker-0.8.14.tar.gz) = bc30b946bf30e36d4f3fa0753b570bc10d4ac056 -Size (pychecker-0.8.14.tar.gz) = 121815 bytes -SHA1 (patch-aa) = ef0328a153878fde74679c9480d60e80ffc3ffa0 -SHA1 (patch-ab) = 8e24ee63f29196591ac32583b79cd7b925b0141c +SHA1 (pychecker-0.8.19.tar.gz) = acbc469b4ecde0182e9be42dceeae5375a923ff3 +RMD160 (pychecker-0.8.19.tar.gz) = 7c401f3d2025dec1438c623b161359ef9721d0bf +Size (pychecker-0.8.19.tar.gz) = 99783 bytes diff --git a/devel/py-checker/patches/patch-aa b/devel/py-checker/patches/patch-aa deleted file mode 100644 index 658310a2ea7..00000000000 --- a/devel/py-checker/patches/patch-aa +++ /dev/null @@ -1,31 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2003/12/02 23:37:26 recht Exp $ - ---- setup.py~ 2003-11-18 04:50:14.000000000 +0100 -+++ setup.py 2003-11-19 14:42:48.000000000 +0100 -@@ -10,7 +10,6 @@ - - import sys - import os --import tempfile - - from distutils.core import setup - from distutils import sysconfig -@@ -56,8 +55,8 @@ - script_str = '%s %s %s\n' % (py_exe, checker_py, arg_str) - script_suffix = '.bat' - -- LOCAL_SCRIPT = 'pychecker' + script_suffix -- LOCAL_SCRIPT = os.path.join(tempfile.gettempdir(), LOCAL_SCRIPT) -+ LOCAL_SCRIPT = 'pychecker' + sys.version[0:3] + script_suffix -+ LOCAL_SCRIPT = os.path.join('./', LOCAL_SCRIPT) - remove_file(LOCAL_SCRIPT) - - try : -@@ -78,7 +77,6 @@ - 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/py-checker/patches/patch-ab b/devel/py-checker/patches/patch-ab deleted file mode 100644 index 74fa392f3b9..00000000000 --- a/devel/py-checker/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2006/10/22 07:58:33 rillig Exp $ - ---- test_check.sh.orig 2004-06-06 17:14:28.000000000 +0200 -+++ test_check.sh 2006-10-22 09:57:35.000000000 +0200 -@@ -6,7 +6,7 @@ TESTS="test_input/test[1-9]*.py" - #PYTHON="$HOME/build/python/2_3/python" - #PYTHON="$PYTHON -tt coverage.py -x" - --if [ "$PYTHON" == "" ]; then -+if [ "$PYTHON" = "" ]; then - PYTHON=python - fi - |