Path to this page:
Subject: CVS commit: pkgsrc/devel/py-Optik
From: Shell Hung
Date: 2002-06-10 04:29:35
Message id: 20020610022935.C6622B004@cvs.netbsd.org
Log Message:
Updated to py-Optik-1.3
- Updated my email address
Changes since Optik-1.2 :
* Fixed a couple of lurking bugs found by PyChecker.
* You can now get away with not supplying an option's type,
no matter the action: Optik now assumes a default type of "string".
* You can now get away with not supplying an option's destination:
Optik now derives a default destination from the first long option,
or the first short option if no long options were given. Eg. an
option string "--foo-bar" has the default destination 'foo_bar'.
* Refactored both Option's and OptionParser's constructors to
make life easier for people extending Optik.
* Added the "examples/" subdirectory -- this is a repository of
examples of extending and using Optik; the goal is to provide
canonical implementations of various features that I don't want to
add to Optik proper, but that are occasionally requested. (Also,
this gives me a good place to test how Optik's extensibility.)
* Added support for long and complex option types, mainly for
completeness (patch by Matthew Mueller).
* Added make_option() as an alias for the Option constructor, because
someday there might be many Option classes (in which case
make_option() will become a factory function).
* Added the examples/ directory to the source distribution -- this
demonstrates various ways to extend Optik.
Files: