Skip to content

Commit

Permalink
Revert "Bump python-gflags to version 3.1.0."
Browse files Browse the repository at this point in the history
This reverts commit d82e69c.

This commit fails to build on Windows because of incorrect imports.
  • Loading branch information
damienmg committed Jul 11, 2017
1 parent d82e69c commit 1fb46ce
Show file tree
Hide file tree
Showing 37 changed files with 5,888 additions and 4,224 deletions.
5 changes: 4 additions & 1 deletion third_party/py/gflags/BUILD
Expand Up @@ -8,7 +8,10 @@ filegroup(

py_library(
name = "gflags",
srcs = glob(["**/*.py"]),
srcs = [
"__init__.py",
"gflags_validators.py",
],
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
)
11 changes: 0 additions & 11 deletions third_party/py/gflags/CONTRIBUTING.md

This file was deleted.

66 changes: 0 additions & 66 deletions third_party/py/gflags/ChangeLog
@@ -1,69 +1,3 @@
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.

Wed Jan 18 13:57:39 2012 Google Inc. <google-gflags@googlegroups.com>

* python-gflags: version 2.0
Expand Down
9 changes: 6 additions & 3 deletions third_party/py/gflags/MANIFEST.in
Expand Up @@ -3,14 +3,17 @@ include COPYING
include ChangeLog
include MANIFEST.in
include Makefile
include NEWS
include README
include *.md
include debian/README
include debian/changelog
include debian/compat
include debian/control
include debian/copyright
include debian/docs
include debian/rules
include *.py
recursive-include gflags *
include gflags.py
include gflags2man.py
include gflags_validators.py
include setup.py
recursive-include tests *.py
78 changes: 78 additions & 0 deletions third_party/py/gflags/NEWS
@@ -0,0 +1,78 @@
== 18 January 2012 ==

[Prependum:] I just realized I should have named the new version 2.0,
to reflect the new ownership and status as a community run project.
Not too late, I guess. I've just released python-gflags 2.0, which is
identical to python-gflags 1.8 except for the version number.

I've just released python-gflags 1.8. This fixes a bug, allowing
modules defining flags to be re-imported without raising duplicate
flag errors.

Administrative note: In the coming weeks, I'll be stepping down as
maintainer for the python-gflags project, and as part of that Google
is relinquishing ownership of the project; it will now be entirely
community run. The remaining
[http://python-gflags.googlecode.com/svn/tags/python-gflags-1.8/ChangeLog changes]
in this release reflect that shift.


=== 20 December 2011 ===

I've just released python-gflags 1.7. The major change here is
improved unicode support, in both flag default values and
help-strings. We've also made big steps toward making gflags work
with python 3.x (while keeping 2.4 compatibility), and improving
--help output in the common case where output is a tty.

For a full list of changes since last release, see the
[http://python-gflags.googlecode.com/svn/tags/python-gflags-1.7/ChangeLog ChangeLog].

=== 29 July 2011 ===

I've just released python-gflags 1.6. This release has only minor
changes, including support for multi_float flags. The full list of
changes is in the
[http://python-gflags.googlecode.com/svn/tags/python-gflags-1.6/ChangeLog ChangeLog].

The major change with this release is procedural: I've changed the
internal tools used to integrate Google-supplied patches for gflags
into the opensource release. These new tools should result in more
frequent updates with better change descriptions. They will also
result in future `ChangeLog` entries being much more verbose (for
better or for worse).

=== 26 January 2011 ===

I've just released python-gflags 1.5.1. I had improperly packaged
python-gflags 1.5, so it probably doesn't work. All users who have
updated to python-gflags 1.5 are encouraged to update again to 1.5.1.

=== 24 January 2011 ===

I've just released python-gflags 1.5. This release adds support for
flag verifiers: small functions you can associate with flags, that are
called whenever the flag value is set or modified, and can verify that
the new value is legal. It also has other, minor changes, described
in the
[http://python-gflags.googlecode.com/svn/tags/python-gflags-1.5/ChangeLog ChangeLog].

=== 11 October 2010 ===

I've just released python-gflags 1.4. This release has only minor
changes from 1.3, including support for printing flags of a specific
module, allowing key-flags to work with special flags, somewhat better
error messaging, and
[http://python-gflags.googlecode.com/svn/tags/python-gflags-1.4/ChangeLog so forth].
If 1.3 is working well for you, there's no particular reason to upgrade.

=== 4 January 2010 ===

I just released python-gflags 1.3. This is the first python-gflags
release; it is version 1.3 because this code is forked from the 1.3
release of google-gflags.

I don't have a tarball or .deb file up quite yet, so for now you will
have to get the source files by browsing under the 'source'
tag. Downloadable files will be available soon.

13 changes: 3 additions & 10 deletions third_party/py/gflags/PKG-INFO
@@ -1,17 +1,10 @@
Metadata-Version: 1.1
Metadata-Version: 1.0
Name: python-gflags
Version: 3.1.0
Version: 2.0
Summary: Google Commandline Flags Module
Home-page: https://github.com/google/python-gflags
Home-page: http://code.google.com/p/python-gflags
Author: Google Inc. and others
Author-email: google-gflags@googlegroups.com
License: BSD
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires: six
6 changes: 3 additions & 3 deletions third_party/py/gflags/README.md
@@ -1,6 +1,6 @@
[gflags](https://github.com/google/python-gflags)
[gflags](https://python-gflags.googlecode.com)
--------

* Version: 3.1.0
* Version: 2.0
* License: New BSD License
* From: [https://pypi.python.org/packages/82/9c/7ed91459f01422d90a734afcf30de7df6b701b90a2e7c7a7d01fd580242d/python-gflags-3.1.0.tar.gz](https://pypi.python.org/packages/82/9c/7ed91459f01422d90a734afcf30de7df6b701b90a2e7c7a7d01fd580242d/python-gflags-3.1.0.tar.gz)
* From: [https://python-gflags.googlecode.com/files/python-gflags-2.0.tar.gz](https://python-gflags.googlecode.com/files/python-gflags-2.0.tar.gz)

0 comments on commit 1fb46ce

Please sign in to comment.