8f2e9fb11d
- 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.
15 lines
412 B
Makefile
15 lines
412 B
Makefile
# $NetBSD: Makefile,v 1.2 2002/06/10 02:29:35 shell Exp $
|
|
|
|
DISTNAME= Optik-1.3
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=optik/}
|
|
|
|
MAINTAINER= shell@netbsd.org
|
|
HOMEPAGE= http://optik.sourceforge.net/
|
|
COMMENT= command line parsing library for Python
|
|
|
|
PYDISTUTILSPKG= # defined
|
|
|
|
.include "../../lang/python/extension.buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|