Subject: CVS commit: pkgsrc/devel/py-Optik
To: None <pkgsrc-changes@netbsd.org>
From: Shell Hung <shell@netbsd.org>
List: pkgsrc-changes
Date: 06/10/2002 05:29:35
Module Name: pkgsrc
Committed By: shell
Date: Mon Jun 10 02:29:35 UTC 2002
Modified Files:
pkgsrc/devel/py-Optik: Makefile distinfo
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.
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/devel/py-Optik/Makefile \
pkgsrc/devel/py-Optik/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.