diff options
author | shell <shell@pkgsrc.org> | 2002-12-26 14:25:47 +0000 |
---|---|---|
committer | shell <shell@pkgsrc.org> | 2002-12-26 14:25:47 +0000 |
commit | 675abbd6cad58a748281818aa6e3e09ef479b807 (patch) | |
tree | 1b7b25be486fb2866f2d48c29953079b47664219 /devel | |
parent | 2ccd8454ad5f4741db32d320e903c7e95e0df112 (diff) | |
download | pkgsrc-675abbd6cad58a748281818aa6e3e09ef479b807.tar.gz |
Updated to pyChecker-0.8.12
Changes :
Version 0.8.12
* Add --isliteral option to warn when using is/is not against literal
(e.g., XXX is 5 YYY is not 'abcdef', etc)
* Add --modulo1 option to warn when using (expr % 1),
which is constant when expr is an integer or string
* Add -4/--noeffect option to disable warnings for 'Statement has no effect'
* self is not first argument warning can be disabled with -S/--self ''
* Don't print duplicate warnings when importing pychecker
* Fix other spurious warnings when importing pychecker
* Fix bug for spurious invalid arguments when passing a dict inline
* Fix bug for spurious Statement has no effect when print >> x, ... ,
* Add @option_file command line argument to read options from a file
(used on platforms which can't have too many options, ie Windows)
* Fix several crashes
* Line numbers should be close for Python 2.3 and if run on optimized code
Version 0.8.11
* Improve error message for syntax errors from user files
* Fix pychecker.bat so it should work now
* Add a warning for using __coerce__ in new-style classes
* Add --deprecated option for using deprecated modules or functions
* Add a warning for using functions with security problems (os.t[e]mpnam)
* Add a warning for comparing against True/False or defining True/False
* Add --badexcept option to warn when using string exceptions or
classes not derived from Exception to raise/catch exceptions
* Fix spurious warnings from using (test and 'true' or 'false)
Diffstat (limited to 'devel')
-rw-r--r-- | devel/py-Checker-mixedcase/Makefile | 12 | ||||
-rw-r--r-- | devel/py-Checker-mixedcase/distinfo | 8 | ||||
-rw-r--r-- | devel/py-Checker-mixedcase/patches/patch-aa | 16 |
3 files changed, 14 insertions, 22 deletions
diff --git a/devel/py-Checker-mixedcase/Makefile b/devel/py-Checker-mixedcase/Makefile index aa6b6f7ef42..2db2de4e294 100644 --- a/devel/py-Checker-mixedcase/Makefile +++ b/devel/py-Checker-mixedcase/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2002/09/21 23:46:48 jlam Exp $ +# $NetBSD: Makefile,v 1.4 2002/12/26 14:25:47 shell Exp $ -DISTNAME= pychecker-0.8.10 -PKGNAME= ${PYPKGPREFIX}-checker-0.8.10 +DISTNAME= pychecker-0.8.12 +PKGNAME= ${PYPKGPREFIX}-checker-0.8.12 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pychecker/} @@ -10,14 +10,8 @@ HOMEPAGE= http://pychecker.sourceforge.net/ COMMENT= python code checker PYDISTUTILSPKG= # defined -PYSETUP= setup.py.new PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} -post-patch: - @${SED} -e "s|@PREFIX@|${PREFIX}|" \ - -e "s|@PYPKGPREFIX@|${PYPKGPREFIX}|" \ - <${WRKSRC}/setup.py > ${WRKSRC}/setup.py.new - .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-Checker-mixedcase/distinfo b/devel/py-Checker-mixedcase/distinfo index 090aa5e4145..c5c5df6432b 100644 --- a/devel/py-Checker-mixedcase/distinfo +++ b/devel/py-Checker-mixedcase/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.2 2002/06/10 02:25:03 shell Exp $ +$NetBSD: distinfo,v 1.3 2002/12/26 14:25:48 shell Exp $ -SHA1 (pychecker-0.8.10.tar.gz) = 9c259aee00bfb182bbd9d2d348cdb20929945a3c -Size (pychecker-0.8.10.tar.gz) = 91073 bytes -SHA1 (patch-aa) = 5dd07c1495eaf6bb69a0280005044995d053b38e +SHA1 (pychecker-0.8.12.tar.gz) = 2bf27b90f6467eea913038781a079aa03ebfecaa +Size (pychecker-0.8.12.tar.gz) = 115719 bytes +SHA1 (patch-aa) = cdaaecf92a8cc4903fcb0813d7f4351a00d2b06f diff --git a/devel/py-Checker-mixedcase/patches/patch-aa b/devel/py-Checker-mixedcase/patches/patch-aa index d4d7951e652..d53f39823f0 100644 --- a/devel/py-Checker-mixedcase/patches/patch-aa +++ b/devel/py-Checker-mixedcase/patches/patch-aa @@ -1,18 +1,17 @@ -$NetBSD: patch-aa,v 1.2 2002/06/10 02:25:03 shell Exp $ +$NetBSD: patch-aa,v 1.3 2002/12/26 14:25:48 shell Exp $ ---- setup.py.orig Thu Mar 21 03:13:13 2002 -+++ setup.py Fri Apr 19 18:25:05 2002 -@@ -10,7 +10,7 @@ +--- setup.py.orig Tue Dec 24 09:05:58 2002 ++++ setup.py +@@ -10,7 +10,6 @@ Contributed by: Nicolas Chauvat import sys import os -import tempfile -+#import tempfile from distutils.core import setup from distutils import sysconfig -@@ -41,8 +41,8 @@ - script_str = '%s %s %%*\n' % (py_exe, checker_py) +@@ -42,8 +41,8 @@ fairly infrequent.""" + script_str = '%s %s %s\n' % (py_exe, checker_py, arg_str) script_suffix = '.bat' - LOCAL_SCRIPT = 'pychecker' + script_suffix @@ -22,12 +21,11 @@ $NetBSD: patch-aa,v 1.2 2002/06/10 02:25:03 shell Exp $ remove_file(LOCAL_SCRIPT) try : -@@ -63,7 +63,7 @@ +@@ -64,7 +63,6 @@ fairly infrequent.""" author_email = "pychecker@metaslash.com", url = "http://pychecker.sourceforge.net/", packages = [ 'pychecker' ], - data_files = [ (install_dir, DOC_FILES) ], -+# data_files = [ (install_dir, DOC_FILES) ], scripts = [ LOCAL_SCRIPT, ], long_description = LONG_DESCRIPTION ) |