Up to [cvs.NetBSD.org] / pkgsrc / devel / py-Optik
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.25 / (download) - annotate - [select for diffs], Sun Nov 3 10:18:26 2019 UTC (8 days, 22 hours ago) by rillig
CVS Tags: HEAD
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)
devel/py-*: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections.
Revision 1.24 / (download) - annotate - [select for diffs], Mon Sep 2 13:19:42 2019 UTC (2 months, 1 week ago) by adam
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)
Changed PYTHON_VERSIONS_INCOMPATIBLE to PYTHON_VERSIONS_ACCEPTED; needed for future Python 3.8
Revision 1.23 / (download) - annotate - [select for diffs], Fri Apr 26 13:13:50 2019 UTC (6 months, 2 weeks ago) by maya
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)
Omit mentions of python 34 and 35, after those were removed. - Includes some whitespace changes, to be handled in a separate commit.
Revision 1.22 / (download) - annotate - [select for diffs], Tue Jul 3 05:03:10 2018 UTC (16 months, 1 week ago) by adam
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)
extend PYTHON_VERSIONS_ for Python 3.7
Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 1 14:43:31 2017 UTC (2 years, 10 months ago) by wiz
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)
Add python-3.6 to incompatible versions.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Jul 9 13:03:39 2016 UTC (3 years, 4 months ago) by wiz
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)
Remove python33: adapt all packages that refer to it.
Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 5 21:25:38 2015 UTC (3 years, 11 months ago) by adam
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
Revision 1.18 / (download) - annotate - [select for diffs], Fri May 9 07:37:00 2014 UTC (5 years, 6 months ago) by wiz
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)
Mark packages that are not ready for python-3.3 also not ready for 3.4, until proven otherwise.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Jan 25 10:30:02 2014 UTC (5 years, 9 months ago) by wiz
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.16: +3 -1 lines
Diff to previous 1.16 (colored)
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
Revision 1.16 / (download) - annotate - [select for diffs], Wed Oct 31 11:19:27 2012 UTC (7 years ago) by asau
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.15: +1 -3 lines
Diff to previous 1.15 (colored)
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revision 1.15 / (download) - annotate - [select for diffs], Fri Jan 27 08:30:40 2012 UTC (7 years, 9 months ago) by obache
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.14: +4 -3 lines
Diff to previous 1.14 (colored)
* any of compiler languages are not required to build. * distutils pkg, register egg-info. Bump PKGREVISION.
Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 4 10:35:28 2010 UTC (9 years, 9 months ago) by obache
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.13: +8 -5 lines
Diff to previous 1.13 (colored)
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.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 12 02:14:28 2008 UTC (11 years, 5 months ago) by joerg
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)
Add DESTDIR support.
Revision 1.12 / (download) - annotate - [select for diffs], Sun Sep 30 17:45:23 2007 UTC (12 years, 1 month ago) by wiz
CVS Tags: pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)
Reset maintainer -- shell@ is inactive.
Revision 1.11 / (download) - annotate - [select for diffs], Sun Feb 5 23:08:51 2006 UTC (13 years, 9 months ago) by joerg
CVS Tags: pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored)
Recursive revision bump / recommended bump for gettext ABI change.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Apr 11 21:45:37 2005 UTC (14 years, 7 months ago) by tv
CVS Tags: pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.9: +1 -2 lines
Diff to previous 1.9 (colored)
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Revision 1.9 / (download) - annotate - [select for diffs], Thu Jul 22 09:16:01 2004 UTC (15 years, 3 months ago) by recht
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)
add python as category ok'd a while back at pkgsrcCon by agc and wiz
Revision 1.8 / (download) - annotate - [select for diffs], Thu Apr 22 04:34:52 2004 UTC (15 years, 6 months ago) by snj
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)
Convert to buildlink3.
Revision 1.7 / (download) - annotate - [select for diffs], Sun Sep 21 09:39:21 2003 UTC (16 years, 1 month ago) by jmc
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4
Changes since 1.6: +2 -1 lines
Diff to previous 1.6 (colored)
Add USE_BUILDLINK2 so this picks up a proper depend
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 21 16:43:45 2003 UTC (16 years, 3 months ago) by martti
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)
COMMENT should start with a capital letter.
Revision 1.5 / (download) - annotate - [select for diffs], Thu Jul 17 21:33:19 2003 UTC (16 years, 3 months ago) by grant
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)
Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 26 15:11:50 2002 UTC (16 years, 10 months ago) by shell
CVS Tags: netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
Updated to py-Optik-1.4 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().
Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 21 23:46:48 2002 UTC (17 years, 1 month ago) by jlam
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)
Strip the ".buildlink" from the names of the python application and extension Makefile fragments, because they really don't have anything to do with the buildlink frameworks. Change all the Makefiles that use application.buildlink.mk and extension.buildlink.mk to use application.mk and extension.mk instead.
Revision 126.96.36.199.2.1 / (download) - annotate - [select for diffs], Sun Jun 23 18:45:02 2002 UTC (17 years, 4 months ago) by jlam
Changes since 188.8.131.52: +3 -3 lines
Diff to previous 184.108.40.206 (colored) next main 1.2 (colored)
Merge from pkgsrc-current to buildlink2 branch.
Revision 1.2 / (download) - annotate - [select for diffs], Mon Jun 10 02:29:35 2002 UTC (17 years, 5 months ago) by shell
CVS Tags: pkgviews-base, pkgviews, netbsd-1-6-RELEASE-base, netbsd-1-6, buildlink2-base
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored)
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.
Revision 220.127.116.11 / (download) - annotate - [select for diffs] (vendor branch), Tue Jan 29 16:17:34 2002 UTC (17 years, 9 months ago) by drochner
CVS Tags: tns_020129, netbsd-1-5-PATCH003
Branch point for: buildlink2
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)
initial import of py-Optik-1.2, a command line parsing library for Python, submitted by Shell Hung per PR pkg/14786
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jan 29 16:17:34 2002 UTC (17 years, 9 months ago) by drochner
This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.