2014-05-09 09:36:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2014/05/09 07:37:00 wiz Exp $
|
2003-06-27 16:16:34 +02:00
|
|
|
|
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
2012-06-04 00:32:59 +02:00
|
|
|
DISTNAME= pychecker-0.8.19
|
2004-08-03 14:07:27 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
2004-07-22 11:15:59 +02:00
|
|
|
CATEGORIES= devel python
|
2003-06-28 16:49:47 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pychecker/}
|
2003-06-27 16:16:34 +02:00
|
|
|
|
2007-09-30 19:45:23 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-06-28 16:49:47 +02:00
|
|
|
HOMEPAGE= http://pychecker.sourceforge.net/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Python code checker
|
2011-10-15 13:59:13 +02:00
|
|
|
LICENSE= modified-bsd
|
2003-06-27 16:16:34 +02:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX:Q}
|
|
|
|
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
|
2003-06-27 16:16:34 +02:00
|
|
|
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.8.19
|
2014-01-25 11:29:56 +01:00
|
|
|
|
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
2012-06-04 00:32:59 +02:00
|
|
|
post-install:
|
|
|
|
${MV} ${DESTDIR}${PREFIX}/bin/pychecker ${DESTDIR}${PREFIX}/bin/pychecker${PYVERSSUFFIX}
|
2011-10-15 13:59:13 +02:00
|
|
|
|
|
|
|
.include "../../lang/python/distutils.mk"
|
2003-06-27 16:16:34 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|