summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2012-06-03 22:32:59 +0000
committerwiz <wiz>2012-06-03 22:32:59 +0000
commit67c5c298cd490628ec3c84332b79902f5affee0a (patch)
tree2306446274979b7ee5a9c8bc8ced5db6e9b2a379 /devel
parentcf3c915ab966494b7c4226d77b16d80d67261f26 (diff)
downloadpkgsrc-67c5c298cd490628ec3c84332b79902f5affee0a.tar.gz
Update to 0.8.19:
Version 0.8.19 - 8 January 2011 * Add support for Python 2.7 * Fixed SF Bug [ 2209631 ]: New pcmodules.py module, modulePath code causes import error * Fixed SF Bug [ 1565876 ]: pychecker does not allow lambda with setattr and const * Fixed SF Bug [ 1564614 ]: pychecker -q on 64-bit ignores the platform-specific stdlib * Fixed SF Bug [ 1563572 ]: order of checking files affects errors reported PyChecker was only checking one of each set of modules with the same name; so it will now catch many more warnings it was missing before. * Fixed SF Bug [ 1563495 ]: couldn't find real module does not respect blacklist * Fixed SF Bug [ 1563494 ]: pychecker tracebacks when importing zope.interface.declaration * Add unittest-based testsuite. * Warn about missing opcodes. * Added implementations for the following opcodes: BUILD_SLICE, DELETE_SLICE3, DUP_TOPX, JUMP_IF_FALSE/TRUE, JUMP_IF_FALSE/TRUE_OR_POP, MAP_ADD, PRINT_NEWLINE_TO, SET_ADD, SETUP_WITH, SLICE0, STORE_MAP, STORE_SLICE+0, STORE_SLICE2, WITH_CLEANUP, YIELD_VALUE Version 0.8.18 - 17 August 2008 * Fixed SF Bug [ 1827412 ] pychecker.bat only handles 9 cmdline args * Fix warning about comparison checking with bool false alert for 'in' and 'not in' * Add warning for using __set__, __get__, and __delete__ in an old-style class * Fix spurious warning about __set__, __get__, and __delete__ not being special methods. * Fix inability to disable Warning about constant setattr()/getattr() * Fix spurious warning on min/max not accepting kwarg of key in Python 2.5 * Add some __special__ pickling methods that were missing * Add --missingattrs option to ignore some (but not all) attribute names * Fix crash when using keyword arguments with builtin methods * Add --keepgoing option to ignore import errors * Add --findevil option to make it easier to find objects that crash the interpreter * Add support for Python 2.5 Version 0.8.17 - 3 February 2006 * Fix spurious warning for Statement with no effect using bit shifts * Add -#/--limit command line option to set the max # of warnings to show * Remove broken command line options: -e/--errors, --complexity * Add -e/--level command line options which allows the error level to be specified: error, security, warning, unused, deprecated, style. These names map to numbers: 90, 90, 70, 50, 40, 10 (error == security). Specifying a value means all levels equal to or greater than it. * Add --only option which displays warnings only for files specified on the command line * Add --evil option for users to prevent the interpreter from crashing due to broken C extensions * Fix wrong file name when warning about returning values from __init__ functions. (#1291116) * Fix a few more glitches with setup.py. * Suppress warning about integer division when the code is: int(x / y) * Add code to skip testing objects from extension modules that are known to crash the interpreter. Currently, the list includes old versions of matplotlib.axes.BinOpType and wx.TheClipboard. * Support ROT_THREE and ROT_FOUR opcodes Version 0.8.16 - 4 September 2005 * Fix problems installing on Windows and running setup.py build
Diffstat (limited to 'devel')
-rw-r--r--devel/py-checker/Makefile8
-rw-r--r--devel/py-checker/PLIST16
-rw-r--r--devel/py-checker/distinfo10
-rw-r--r--devel/py-checker/patches/patch-aa31
-rw-r--r--devel/py-checker/patches/patch-ab13
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
-