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

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


Branch: CURRENT, Version: 3.1.2nb4, Package name: py310-gflags-3.1.2nb4, 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/py-six] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 50.872 KB

Version history: (Expand)


CVS history: (Expand)


   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2022-01-01 18:31:36 by Thomas Klausner | Files touched by this commit (3)
Log message:
py-gflags: convert to egg.mk

Disable python 2.7 version, which would need a hack.

Bump PKGREVISION.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2019-11-03 11:18:30 by Roland Illig | Files touched by this commit (36)
Log message:
devel/py-*: align variable assignments

pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
   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)
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.