Commit graph

24 commits

Author SHA1 Message Date
wiz
aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
dholland
b238c865db Restore ${PYVERSSUFFIX}, lost in update. 2012-06-04 06:39:02 +00:00
wiz
bba68b4731 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-03 22:32:59 +00:00
wiz
c595076396 All supported python versions in pkgsrc support eggs, so remove
${PLIST.eggfile} from PLISTs and support code from lang/python.
2012-04-08 20:21:41 +00:00
obache
70ed7023b0 * LICENSE=modified-bsd
* convert PYDISTUTILPKG to regist egg-info.

Bump PKGREVISION.
2011-10-15 11:59:13 +00:00
joerg
bacea7cad5 Remove @dirrm entries from PLISTs 2009-06-14 17:48:39 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
wiz
2f2166a0fb Reset maintainer -- shell@ is inactive. 2007-09-30 17:45:23 +00:00
rillig
edc90a1031 Fixed "test ==". 2006-10-22 07:55:38 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
recht
9fc9aa7335 update to 0.8.14
Version 0.8.14   - 6 June 2004
  * Fix spurious warning in Python 2.3+ when doing a,b = 1,2
  * Add warning to check for "if s.find(str):"
      this should be "if s.find(str) >= 0:" when s is a string
  * Fix spurious warning when using augmented assignment (e.g., x += x)
  * Fix spurious warning when doing x = not x
  * Fix spurious warning for invalid arg count when calling a staticmethod
  * Fix spurious warning for setting a variable to itself when:  x, y, z = x
  * Fix spurious warning when doing some binary operations:  self.a ^ self.b
  * Fix crash in STORE_ATTR with some list comprehensions in Python 2.2
  	e.g., a.a = [x for x in range(2) if x > 1]
  * Support Tk 8.4 and above in the GUI (change col= to column=)
2004-08-03 12:07:27 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
snj
67721bd22d Convert to buildlink3. 2004-04-27 04:59:42 +00:00
recht
b53fa27a66 update to 0.8.13
Version 0.8.13   - 18 November 2003
  * Add -s/--shadowbuiltin option to warn when overriding a builtin
  * Add warning when assigning a variable to itself
  * Add warning when dividing a variable by itself
  * Add warnings when using a bit-wise operator with the same variable (a & a)
  * Add warning when passing a constant string to getattr()/setattr()
  * Add --special option to check for __special__ (reserved) method names
    and that their signature (argument count) is correct
  * Add warning for using __getattribute__ in an old-style class
  * Suppress 'self as first argument' warning for static and class methods
  * Add --classmethodargs option to specify first argument name
    for class methods
2003-12-02 23:37:26 +00:00
recht
e914ab3288 hange extension.mk to also install optimized files for distutils packages.
Inspired by FreeBSD "ports".

Fix the PLISTs accordingly.
Also, while at it, remove now obsolete compileall.py calls in post-install
targets and insure that extension.mk is in included before builinlinks of
other Python modules.

Discussed with/ok'ed by drochner@.
2003-09-14 16:43:45 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
drochner
8e0c0e0225 After a short, nonviolent, debate with Shell Hung, merge his py-Checker
and my py-checker into one pkg.

Moved py-Checker to py-Checker-mixedcase in the repository [schmonz 2007-06-07]
2003-06-28 14:49:47 +00:00
drochner
d98f0e6ab6 oops, correct HOMEPAGE 2003-06-27 14:33:30 +00:00
drochner
8cfd6be019 import pychecker-0.8.12, something like "lint", but for Python 2003-06-27 14:16:34 +00:00