Skip to content

Commit 15c2567

Browse files
spxtrbuchgr
authored andcommitted
Bump python-gflags to 3.1.0, take two
This reverts commit 1fb46ce. Trying again. Closes #3363
1 parent b7d6478 commit 15c2567

37 files changed

+4225
-5888
lines changed

third_party/py/gflags/BUILD

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,8 @@ filegroup(
88

99
py_library(
1010
name = "gflags",
11-
srcs = [
12-
"__init__.py",
13-
"gflags_validators.py",
14-
],
11+
deps = ["//third_party/py/six"],
12+
srcs = glob(["**/*.py"]),
1513
srcs_version = "PY2AND3",
1614
visibility = ["//visibility:public"],
1715
)

third_party/py/gflags/CONTRIBUTING.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Want to contribute?
2+
3+
We regret that we are currently unable to accept contributions to python-gflags
4+
due to some technical issues.
5+
6+
If you have a problem you'd like to have solved, please open a
7+
[GitHub issue](https://github.com/google/python-gflags/issues) and we'll try to
8+
resolve it.
9+
10+
Because we can't accept contributions right now, pull requests will be closed
11+
without review.

third_party/py/gflags/ChangeLog

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,69 @@
1+
Tue Nov 01 00:00:01 2016 Google Inc. <[email protected]>
2+
* python-gflags: version 3.1.0.
3+
* Python3 compatibility
4+
* Removed UnrecognizedFlag exception.
5+
* Replaced flags.DuplicateFlag with flags.DuplicateFlagError.
6+
* Moved the validators.Error class to exceptions.ValidationError.
7+
* Renamed IllegalFlagValue to IllegalFlagValueError.
8+
* Removed MutualExclusionValidator class, in favor of flags.MarkFlagsAsMutualExclusive.
9+
* Removed FlagValues.AddValidator method.
10+
* Removed _helpers.GetMainModule.
11+
* Use xml.dom.minidom to create XML strings, instead of manual crafting.
12+
* Declared PEP8-style names.
13+
* Added examples.
14+
15+
16+
17+
* python-gflags: version 3.0.7.
18+
* Removed the unused method ShortestUniquePrefixes.
19+
* Removed _GetCallingModule function alias.
20+
21+
Fri Aug 05 00:00:01 2016 Google Inc. <[email protected]>
22+
23+
* python-gflags: version 3.0.6
24+
* Declared pypi package classifiers.
25+
* Added support for CLIF flag processing (not included in python-gflags repo
26+
yet).
27+
28+
Thu May 12 00:00:01 2016 Google Inc. <[email protected]>
29+
30+
* python-gflags: version 3.0.5
31+
* Added a warning when FLAGS.SetDefault is used after flags were parsed.
32+
* Added new function: MarkFlagsAsRequired.
33+
34+
Fri Apr 15 00:00:01 2016 Google Inc. <[email protected]>
35+
36+
* python-gflags: version 3.0.4
37+
* One more fix for setup.py - this time about third_party package.
38+
39+
Mon Apr 11 00:00:01 2016 Google Inc. <[email protected]>
40+
41+
* python-gflags: version 3.0.3
42+
* Fixed setup.py.
43+
* --noflag if argument is given is no longer allowed.
44+
* Python3 compatibility: removed need for cgi import.
45+
* Disallowed unparsed flag usage after FLAGS.Reset()
46+
47+
Thu Feb 09 11:55:00 2016 Google Inc. <[email protected]>
48+
49+
* python-gflags: version 3.0.2
50+
* Fix MANIFEST.in to include all relevant files.
51+
52+
Thu Feb 04 22:23:00 2016 Google Inc. <[email protected]>
53+
54+
* python-gflags: version 3.0.1
55+
* Some changes for python3 compatibility.
56+
* Automatically generate ordering operations for Flag.
57+
* Add optional comma compatibility to whitespace-separated list flags.
58+
59+
Tue Jan 12 16:39:00 2016 Google Inc. <[email protected]>
60+
61+
* python-gflags: version 3.0.0.
62+
* A lot of potentially backwards incompatible changes since 2.0.
63+
* This version is NOT recommended to use in production. Some of the files and
64+
documentation has been lost during export; this will be fixed in next
65+
versions.
66+
167
Wed Jan 18 13:57:39 2012 Google Inc. <[email protected]>
268

369
* python-gflags: version 2.0

third_party/py/gflags/MANIFEST.in

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,14 @@ include COPYING
33
include ChangeLog
44
include MANIFEST.in
55
include Makefile
6-
include NEWS
76
include README
7+
include *.md
88
include debian/README
99
include debian/changelog
1010
include debian/compat
1111
include debian/control
1212
include debian/copyright
1313
include debian/docs
1414
include debian/rules
15-
include gflags.py
16-
include gflags2man.py
17-
include gflags_validators.py
18-
include setup.py
19-
recursive-include tests *.py
15+
include *.py
16+
recursive-include gflags *

third_party/py/gflags/NEWS

Lines changed: 0 additions & 78 deletions
This file was deleted.

third_party/py/gflags/PKG-INFO

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1-
Metadata-Version: 1.0
1+
Metadata-Version: 1.1
22
Name: python-gflags
3-
Version: 2.0
3+
Version: 3.1.0
44
Summary: Google Commandline Flags Module
5-
Home-page: http://code.google.com/p/python-gflags
5+
Home-page: https://github.com/google/python-gflags
66
Author: Google Inc. and others
77
Author-email: [email protected]
88
License: BSD
99
Description: UNKNOWN
1010
Platform: UNKNOWN
11+
Classifier: Programming Language :: Python :: 2.7
12+
Classifier: Programming Language :: Python :: 3.4
13+
Classifier: Intended Audience :: Developers
14+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
15+
Classifier: License :: OSI Approved :: BSD License
16+
Classifier: Operating System :: OS Independent
17+
Requires: six

third_party/py/gflags/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
[gflags](https://python-gflags.googlecode.com)
1+
[gflags](https://github.com/google/python-gflags)
22
--------
33

4-
* Version: 2.0
4+
* Version: 3.1.0
55
* License: New BSD License
6-
* 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)
6+
* 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)

0 commit comments

Comments
 (0)