./devel/py-gflags, Python equivalent of gflags, a commandline flag implementation

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.1.2nb2, Package name: py27-gflags-3.1.2nb2, Maintainer: pkgsrc-users

GFlags defines a *distributed* command line system, replacing
systems like getopt(), optparse and manual argument processing.
Rather than an application having to define all flags in or near
main(), each python module defines flags that are useful to it.
When one python module imports another, it gains access to the
other's flags.

It includes the ability to define flag types (boolean, float,
interger, list), autogeneration of help (in both human and machine
readable format) and reading arguments from a file. It also includes
the ability to automatically generate man pages from the help flags.


Required to run:
[lang/python27] [lang/py-six]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: fea9fe14d709e98ef838a17546c0da7c403ce20f
RMD160: c5aea23fffa376624e9d15cbe35807e1323ad27d
Filesize: 50.872 KB

Version history: (Expand)


CVS history: (Expand)


   2018-05-31 22:07:00 by Benny Siegert | Files touched by this commit (3)
Log message:
Fix installation of the gflags2man script.

- install with a name that contains the Python version
- add alternatives file
- correctly mark script executable
- bump revision.
   2018-05-25 04:08:36 by Benny Siegert | Files touched by this commit (2)
Log message:
Also install the egg-info file. Bump revision.

Part of PR pkg/52941.
   2018-02-04 11:16:17 by Benny Siegert | Files touched by this commit (3) | Package updated
Log message:
Update py-gflags to 3.1.2, add Python 3 support.

Also part of PR pkg/52941.

Fri Oct 27 00:00:01 2017  Google Inc. <google-gflags@googlegroups.com>
* python-gflags: version 3.1.2.
* New API names for compatibility with abseil-py.

Mon Jan 30 00:00:01 2017  Google Inc. <google-gflags@googlegroups.com>
  * python-gflags: version 3.1.1.
  * Added PEP8 style method/function aliases.

Tue Nov 01 00:00:01 2016  Google Inc. <google-gflags@googlegroups.com>
  * python-gflags: version 3.1.0.
  * Python3 compatibility
  * Removed UnrecognizedFlag exception.
  * Replaced flags.DuplicateFlag with flags.DuplicateFlagError.
  * Moved the validators.Error class to exceptions.ValidationError.
  * Renamed IllegalFlagValue to IllegalFlagValueError.
  * Removed MutualExclusionValidator class, in favor of \ 
flags.MarkFlagsAsMutualExclusive.
  * Removed FlagValues.AddValidator method.
  * Removed _helpers.GetMainModule.
  * Use xml.dom.minidom to create XML strings, instead of manual crafting.
  * Declared PEP8-style names.
  * Added examples.

  * python-gflags: version 3.0.7.
  * Removed the unused method ShortestUniquePrefixes.
  * Removed _GetCallingModule function alias.

Fri Aug 05 00:00:01 2016  Google Inc. <google-gflags@googlegroups.com>

  * python-gflags: version 3.0.6
  * Declared pypi package classifiers.
  * Added support for CLIF flag processing (not included in python-gflags repo
    yet).

Thu May 12 00:00:01 2016  Google Inc. <google-gflags@googlegroups.com>

  * python-gflags: version 3.0.5
  * Added a warning when FLAGS.SetDefault is used after flags were parsed.
  * Added new function: MarkFlagsAsRequired.

Fri Apr 15 00:00:01 2016  Google Inc. <google-gflags@googlegroups.com>

  * python-gflags: version 3.0.4
  * One more fix for setup.py - this time about third_party package.

Mon Apr 11 00:00:01 2016  Google Inc. <google-gflags@googlegroups.com>

  * python-gflags: version 3.0.3
  * Fixed setup.py.
  * --noflag if argument is given is no longer allowed.
  * Python3 compatibility: removed need for cgi import.
  * Disallowed unparsed flag usage after FLAGS.Reset()

Thu Feb 09 11:55:00 2016  Google Inc. <google-gflags@googlegroups.com>

  * python-gflags: version 3.0.2
  * Fix MANIFEST.in to include all relevant files.

Thu Feb 04 22:23:00 2016  Google Inc. <google-gflags@googlegroups.com>

  * python-gflags: version 3.0.1
  * Some changes for python3 compatibility.
  * Automatically generate ordering operations for Flag.
  * Add optional comma compatibility to whitespace-separated list flags.

Tue Jan 12 16:39:00 2016  Google Inc. <google-gflags@googlegroups.com>

  * python-gflags: version 3.0.0.
  * A lot of potentially backwards incompatible changes since 2.0.
  * This version is NOT recommended to use in production. Some of the files and
    documentation has been lost during export; this will be fixed in next
    versions.
   2017-09-04 20:55:10 by Thomas Klausner | Files touched by this commit (40) | Package updated
Log message:
Update some URLs.
   2017-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.
   2015-12-05 22:26:09 by Adam Ciarcinski | Files touched by this commit (578)
Log message:
Extend PYTHON_VERSIONS_INCOMPATIBLE to 35
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.