summaryrefslogtreecommitdiff
path: root/devel/py-Optik
AgeCommit message (Collapse)AuthorFilesLines
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2008-06-12Add DESTDIR support.joerg1-1/+3
2007-09-30Reset maintainer -- shell@ is inactive.wiz1-2/+2
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-23Add RMD160 digests.agc1-1/+2
2004-07-22add python as categoryrecht1-2/+2
ok'd a while back at pkgsrcCon by agc and wiz
2004-04-22Convert to buildlink3.snj1-2/+2
2003-09-21Add USE_BUILDLINK2 so this picks up a proper dependjmc1-1/+2
2003-09-14hange extension.mk to also install optimized files for distutils packages.recht1-1/+6
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-07-21COMMENT should start with a capital letter.martti1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2002-12-26Updated to py-Optik-1.4shell3-6/+8
Changes : * Factored the help-formatting code out of OptionParser into some new classes (HelpFormatter and subclasses) in help.py. This should make it a lot easier to customize how help is formatted. * Added the notion of "option groups": an OptionParser can now contain several option groups, each which contains several options. The main purpose of this is to enable sensibly-grouped help output, but it opens up all sorts of interesting (and largely untested) possibilities for code to throw whole option groups around instead of individual options. Added two new classes: OptionGroup, and OptionContainer for code common to OptionParser and OptionGroup. (OptionContainer should be invisible to programmers using Optik). * Added the 'description' attribute and set_description() method to both OptionParser and OptionGroup (actually OptionContainer). Again, this is to make help output more useful. * Made it easier for OptionParser subclasses to decide whether they should have the standard "help" option, by moving the logic from class level to the _populate_option_list() method. * Added the "choice" option type, which is just a string type constrained to a fixed set of values. * Added method get_default_values() to OptionParser. * Rewrote how OptionParser recognizes abbreviated long options; removed a redundant internal instance attribute. * Simplify parsing logic in OptionParser a tad by relocating a loop and renaming _process_arg() to _process_args().
2002-09-21Strip the ".buildlink" from the names of the python application andjlam1-2/+2
extension Makefile fragments, because they really don't have anything to do with the buildlink[12] frameworks. Change all the Makefiles that use application.buildlink.mk and extension.buildlink.mk to use application.mk and extension.mk instead.
2002-06-10Updated to py-Optik-1.3shell2-6/+6
- 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.
2002-01-29initial import of py-Optik-1.2, a command line parsing library for Python,drochner4-0/+33
submitted by Shell Hung per PR pkg/14786