head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 TNF:1.1.1 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.2 netbsd-1-6-1-base:1.3 netbsd-1-6:1.2.0.6 netbsd-1-6-RELEASE-base:1.2 pkgviews:1.2.0.2 pkgviews-base:1.2 buildlink2:1.1.1.1.0.2 buildlink2-base:1.2 netbsd-1-5-PATCH003:1.1.1.1 tns_020129:1.1.1.1; locks; strict; comment @# @; 1.4 date 2003.06.28.14.49.51; author drochner; state dead; branches; next 1.3; 1.3 date 2002.12.26.14.25.48; author shell; state Exp; branches; next 1.2; 1.2 date 2002.06.10.02.25.03; author shell; state Exp; branches; next 1.1; 1.1 date 2002.01.29.16.27.53; author drochner; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.01.29.16.27.53; author drochner; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2002.06.23.18.45.02; author jlam; state Exp; branches; next ; desc @@ 1.4 log @After a short, nonviolent, debate with Shell Hung, merge his py-Checker and my py-checker into one pkg. @ text @$NetBSD: patch-aa,v 1.3 2002/12/26 14:25:48 shell Exp $ --- 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 from distutils.core import setup from distutils import sysconfig @@@@ -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 - LOCAL_SCRIPT = os.path.join(tempfile.gettempdir(), LOCAL_SCRIPT) + LOCAL_SCRIPT = 'pyChecker' + script_suffix + LOCAL_SCRIPT = os.path.join('./', LOCAL_SCRIPT) remove_file(LOCAL_SCRIPT) try : @@@@ -64,7 +63,6 @@@@ fairly infrequent.""" author_email = "pychecker@@metaslash.com", url = "http://pychecker.sourceforge.net/", packages = [ 'pychecker' ], - data_files = [ (install_dir, DOC_FILES) ], scripts = [ LOCAL_SCRIPT, ], long_description = LONG_DESCRIPTION ) @ 1.3 log @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) @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Updated py-Checker to 0.8.10 . Changes for 0.8.9 to 0.8.10 : * Add --unpack option to warn when unpacking a non-sequence * Add --unpacklen option to warn when unpacking sequence of wrong size * Add --changetypes option to warn when setting a variable to different types * Add --stringiter option to warn when iterating over a string * Add --input option to warn when using input() * Fix crash with checking properties or deriving from objects (2.2 only) * Fix crash with nested scopes and lambdas * Fix spurious warnings for constant conditionals when using ('%s' % value) * Fix spurious warnings for unused identifiers caused by from XXX import * * Add more information when module cannot be imported * Fix spurious warnings for implicit returns when using while 1: * Fix spurious warnings for implicit returns when using try/finally: * Fix spurious warning with globals that start w/__ * Fix spurious warnings for modifying default arguments when calling {}.get(), {}.has_key(), [].index(), [].count(), etc. * Fix spurious warnings in Python 1.5.2 when using from/import (Please see CHANGELOG for more) @ text @d3 3 a5 3 --- setup.py.orig Thu Mar 21 03:13:13 2002 +++ setup.py Fri Apr 19 18:25:05 2002 @@@@ -10,7 +10,7 @@@@ a9 1 +#import tempfile d13 2 a14 2 @@@@ -41,8 +41,8 @@@@ script_str = '%s %s %%*\n' % (py_exe, checker_py) d24 1 a24 1 @@@@ -63,7 +63,7 @@@@ a28 1 +# data_files = [ (install_dir, DOC_FILES) ], @ 1.1 log @Initial revision @ text @d3 2 a4 8 --- setup.py.orig Sun Jan 13 17:55:12 2002 +++ setup.py Tue Jan 29 16:27:22 2002 @@@@ -1,4 +1,4 @@@@ -#!/usr/local/bin/python +#!/usr/bin/env python """To use this setup script to install PyChecker: d14 2 a15 3 @@@@ -34,10 +34,11 @@@@ script_suffix = '' if sys.platform == 'win32' : d17 1 d20 1 a20 1 + LOCAL_SCRIPT = 'pyChecker' + sys.version[:3] d24 2 a25 5 + doc_dir = '@@PREFIX@@/share/doc/@@PYPKGPREFIX@@-Checker/' install_dir = sysconfig.get_python_lib() + os.sep + 'pychecker' checker_py = install_dir + os.sep + 'checker.py' py_exe = sys.executable @@@@ -64,7 +65,7 @@@@ d30 1 a30 1 + data_files = [ (doc_dir, DOC_FILES) ], @ 1.1.1.1 log @initial import of py-checker-0.8.8, a python code checker, submitted by Shell Hung per PR pkg/15153 @ text @@ 1.1.1.1.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2002/06/10 02:25:03 shell Exp $ d3 8 a10 2 --- setup.py.orig Thu Mar 21 03:13:13 2002 +++ setup.py Fri Apr 19 18:25:05 2002 d20 3 a22 2 @@@@ -41,8 +41,8 @@@@ script_str = '%s %s %%*\n' % (py_exe, checker_py) a23 1 d26 1 a26 1 + LOCAL_SCRIPT = 'pyChecker' + script_suffix d30 5 a34 2 try : @@@@ -63,7 +63,7 @@@@ d39 1 a39 1 +# data_files = [ (install_dir, DOC_FILES) ], @