Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
obache f4a855cdce Update py-Optik to 1.5.3.
Based on PR#41674 by Kamel Derouiche.

1.5.3 (23 Jul 2006)
-------------------

  * Port r47026 from Python svn repository: fix unit test so
    it doesn't screw up other tests in the Python test suite.

1.5.2 (22 Jul 2006)
-------------------

  * Minor documentation tweaks.

  * SF bug #1498146: handle Unicode help strings (affects option help,
    description, and epilog).

1.5.1 (19 Apr 2006)
-------------------

  * Fix so the 'merge' script works again (bugs spotted, and mostly
    fixed, by Andrea 'fwyzard' Bocci).

  * SF bug #1145594: add 'destroy()' method to OptionParser so
    applications can explicitly break reference cycles, making life
    easier for Python's garbage collector.

  * SF feature #988126: add 'epilog' attribute to OptionParser
    (and constructor arg): paragraph of text to print after the
    main option help.

  * Corrected French translation (po/optik/fr.po) (Laurent Laporte).

  * Beefed up reference guide.

  * Backported to Python 2.0/2.1 (Giovanni Bajo).

1.5 (6 Dec 2004)
----------------

(All changes first released in Optik 1.5a1 except as noted.)

  * Optik now requires Python 2.2 or later.

  * Add expansion of default values in help text: the string
    "%default" in an option's help string is expanded to str() of
    that option's default value, or "none" if no default value.

  * SF bug #955889: option default values that happen to be strings are
    now processed in the same way as values from the command line; this
    allows generation of nicer help when using custom types.  Can
    be disabled with parser.set_process_default_values(False).

  * SF bug #960515: don't crash when generating help for callback
    options that specify 'type', but not 'dest' or 'metavar'.

  * SF feature #815264: change the default help format for short options
    that take an argument from e.g. "-oARG" to "-o ARG"; add
    set_short_opt_delimiter() and set_long_opt_delimiter() methods to
    HelpFormatter to allow (slight) customization of the formatting.

  * SF patch #736940: internationalize Optik: all built-in user-
    targeted literal strings are passed through gettext.gettext().  Also
    added po/ directory for message catalog and translations, so that
    Optik-based applications have a single place to go for translations
    of Optik's built-in messags.  Include translations for Danish and
    German (thanks to Frederik S. Olesen and Martin v. L
    respectively), and partial translations for French (by me).

  * SF bug #878453 (Python): respect $COLUMNS environment variable for
    wrapping help output.

  * SF feature #964317: allow type objects to specify option types;
    allow "str" as an alias for "string".

  * SF feature #988122: expand "%prog" in the 'description' passed
    to OptionParser, just like in the 'usage' and 'version' strings.
    (This is *not* done in the 'description' passed to OptionGroup.)

  * Added HTML-formatted docs to the source distribution (in addition
    to the reStructuredText source files).

  * Added three new examples: custom_source.py, custom_type.py, and
    no_help.py.

  * Remove the old, broken "ignore" option conflict handler -- was
    only needed for compatibility with Optik 1.1.

  * Move documentation into docs/ directory, and write a script
    (mkpydoc) to automatically convert it to LaTeX for the Python
    standard library manual.  Many documentation improvements.
    (1.5a2)

  * SF #997100: attempt to avoid triggering a FutureWarning in
    __repr__() when using id() with "%x" (1.5a2).

  * SF #1048725: fix typo in Values.__eq__() introduced in 1.5a1.

  * Fix test script so it plays nice when being run with other test
    scripts (as in the Python test suite) (1.5a2).

  * SF patch #870807: allow users to specify integer option arguments
    in hexadecimal, octal, or binary with leading "0x", "0", or "0b"
    (1.5 final).

  * SF feature #1050184: add 'append_const' action (patch by
    Andrea 'fwyzard' Bocci) (1.5 final).

  * Keep going if importing gettext fails (so optparse can be used
    in the Python build process) (1.5 final).


Python 2.3 (29 July 2003)
-------------------------

(A couple of fixes were made in Optik in time for its inclusion in
Python 2.3 as optparse, but I never got around to making a corresponding
bug-fix release of Optik.)

  * Add __all__ to optik package and optparse module (fixes
    SF bug #728563).

  * Fix so the 'prog' attribute of OptionParser (which was
    surreptitiously added in 1.4.1, but undocumented, untested,
    and not working) actually works.


1.4.1 (20 Apr 2003)
-------------------

  * Changed to use the new textwrap module included with Python 2.3.
    Includes a copy of textwrap.py for use with older Python versions.

  * Set __all__ in each of the optik.* modules, to make life easier for
    optik/__init__.py.

  * Rewrote the test suite to use PyUnit, and added some new tests
    that revealed some long-hidden bugs.  Fixed those bugs.
    (Thanks to Johannes Gijsbers for doing all the work!)

  * For versions of Python with builtin True and False values (ie.
    Python 2.2.1 and later), make store_true/store_false use them.

  * Add forwards-compatibility 'optparse' module, so scripts can
    import from 'optparse' and work under base Python 2.3, or
    under older Pythons with Optik 1.4.1 or later installed.
2010-02-04 10:35:28 +00:00
archivers Add patches for CVE-2009-2624 and CVE-2010-0001. 2010-02-02 14:42:43 +00:00
audio Do not bail out if not installing as root. 2010-02-03 14:43:57 +00:00
benchmarks update master_sites. 2010-01-25 00:41:56 +00:00
biology libf2c did split 2009-12-03 19:01:05 +00:00
bootstrap Add support of SSD/Linux. 2010-01-16 02:16:35 +00:00
cad DESTDIR support 2010-02-01 01:50:04 +00:00
chat DESTDIR support 2010-02-02 23:36:16 +00:00
comms Fixing DESTDIR support (upon joerg@'s request) 2010-02-02 13:00:56 +00:00
converters No double man in path. 2010-01-31 22:21:32 +00:00
cross DESTDIR support 2010-01-29 16:51:38 +00:00
databases Update abook to 0.5.6. 2010-02-04 04:31:15 +00:00
devel Update py-Optik to 1.5.3. 2010-02-04 10:35:28 +00:00
distfiles
doc Added devel/p5-InlineX-C2XS version 0.15 2010-02-04 09:55:24 +00:00
editors destdir support, plus fix some pre-existing funnies with install permissions 2010-02-04 06:40:19 +00:00
emulators Update to 0.136: 2010-02-03 16:18:28 +00:00
filesystems Fix build in OS X. 2010-02-02 10:45:17 +00:00
finance Second try at jpeg-8 recursive PKGREVISION bump. 2010-01-18 09:58:37 +00:00
fonts DESTDIR support 2010-02-03 23:41:03 +00:00
games + marathon-trilogy. 2010-02-03 11:19:50 +00:00
geography + p5-Geo-ShapeFile 2010-02-04 09:52:21 +00:00
graphics DESTDIR support 2010-02-03 23:27:52 +00:00
ham DESTDIR support 2010-01-29 23:50:26 +00:00
inputmethod - uim-qt4-immodule. 2010-01-20 11:12:58 +00:00
lang DESTDIR support 2010-02-04 01:32:00 +00:00
licenses The OSI uses the name 'python' to refer to the license of older Python 2010-01-21 16:05:51 +00:00
mail DESTDIR support 2010-02-04 02:42:23 +00:00
math + wxMaxima. 2010-02-03 23:39:33 +00:00
mbone fix paths in patches. 2010-02-03 21:14:22 +00:00
meta-pkgs Update to kde4 4.3.5 2010-01-27 10:38:38 +00:00
misc destdir support 2010-02-04 05:08:12 +00:00
mk Use sun-jdk6 on Darwin-10. 2010-02-03 00:49:58 +00:00
multimedia Update to kde4 4.3.5 2010-01-27 10:38:38 +00:00
net DESTDIR conversion 2010-02-04 09:18:12 +00:00
news update master_sites. 2010-01-31 21:12:20 +00:00
packages
parallel update MASTER_SITES. 2010-01-31 21:08:58 +00:00
pkgtools pkg_install-20100204: 2010-02-03 19:28:30 +00:00
print Add tex-url and tex-url-doc. 2010-02-02 22:17:32 +00:00
regress Remove @dirrm entries from PLISTs 2009-06-14 18:11:52 +00:00
security add a patch from upstream CVS to fix a bug which could make keys 2010-02-03 10:58:11 +00:00
shells destdir support 2010-02-04 05:23:27 +00:00
sysutils Update to 2.01.01alpha74: 2010-02-03 16:04:26 +00:00
templates audit-packages is now in pkg_install on pkgsrc HEAD and stable so update 2008-12-10 22:06:48 +00:00
textproc Updating textproc/p5-Text-Markdown from 1.0.29 to 1.0.30 2010-02-02 19:57:30 +00:00
time Updating time/p5-DateTime-Format-ISO8601 from 0.06 to 0.07 2010-02-02 14:43:11 +00:00
wm I've spoken with upstream and the original distfile has been restored. 2010-02-01 22:44:23 +00:00
www Remove file that should have disappeared with 2.28.2 update. 2010-02-04 07:18:11 +00:00
x11 Bump PKGREVISION for xmlpatterns fix. 2010-02-03 15:41:17 +00:00
Makefile cleanup 2009-05-16 07:21:05 +00:00
pkglocate
README

$NetBSD: README,v 1.18 2005/05/07 22:18:28 wiz Exp $

Please see doc/pkgsrc.txt for information.