pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-gflags Update py-gflags to 3.1.2, add Python ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7bd10661111a
branches: trunk
changeset: 375151:7bd10661111a
user: bsiegert <bsiegert%pkgsrc.org@localhost>
date: Sun Feb 04 10:16:17 2018 +0000
description:
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@localhost>
* 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@localhost>
* 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@localhost>
* 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@localhost>
* 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@localhost>
* 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@localhost>
* 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@localhost>
* 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@localhost>
* 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@localhost>
* 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@localhost>
* 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.
diffstat:
devel/py-gflags/Makefile | 13 +++++++------
devel/py-gflags/PLIST | 48 +++++++++++++++++++++++++++++++++++++-----------
devel/py-gflags/distinfo | 10 +++++-----
3 files changed, 49 insertions(+), 22 deletions(-)
diffs (98 lines):
diff -r 3c8af7520bd5 -r 7bd10661111a devel/py-gflags/Makefile
--- a/devel/py-gflags/Makefile Sun Feb 04 10:14:29 2018 +0000
+++ b/devel/py-gflags/Makefile Sun Feb 04 10:16:17 2018 +0000
@@ -1,19 +1,20 @@
-# $NetBSD: Makefile,v 1.6 2017/09/04 18:55:08 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2018/02/04 10:16:17 bsiegert Exp $
-DISTNAME= python-gflags-2.0
+DISTNAME= python-gflags-3.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//}
CATEGORIES= devel python
-MASTER_SITES= http://python-gflags.googlecode.com/files/
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-gflags/}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/google/python-gflags
COMMENT= Python equivalent of gflags, a commandline flag implementation
LICENSE= modified-bsd
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # as of 2.0
+REPLACE_PYTHON+= *.py
+PYDISTUTILSPKG= yes
-REPLACE_PYTHON+= *.py
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
.include "../../lang/python/application.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 3c8af7520bd5 -r 7bd10661111a devel/py-gflags/PLIST
--- a/devel/py-gflags/PLIST Sun Feb 04 10:14:29 2018 +0000
+++ b/devel/py-gflags/PLIST Sun Feb 04 10:16:17 2018 +0000
@@ -1,12 +1,38 @@
-@comment $NetBSD: PLIST,v 1.1 2014/11/26 15:01:12 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/02/04 10:16:17 bsiegert Exp $
bin/gflags2man.py
-${PYSITELIB}/gflags.py
-${PYSITELIB}/gflags.pyc
-${PYSITELIB}/gflags.pyo
-${PYSITELIB}/gflags_validators.py
-${PYSITELIB}/gflags_validators.pyc
-${PYSITELIB}/gflags_validators.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/gflags/__init__.py
+${PYSITELIB}/gflags/__init__.pyc
+${PYSITELIB}/gflags/__init__.pyo
+${PYSITELIB}/gflags/_helpers.py
+${PYSITELIB}/gflags/_helpers.pyc
+${PYSITELIB}/gflags/_helpers.pyo
+${PYSITELIB}/gflags/_helpers_test.py
+${PYSITELIB}/gflags/_helpers_test.pyc
+${PYSITELIB}/gflags/_helpers_test.pyo
+${PYSITELIB}/gflags/argument_parser.py
+${PYSITELIB}/gflags/argument_parser.pyc
+${PYSITELIB}/gflags/argument_parser.pyo
+${PYSITELIB}/gflags/exceptions.py
+${PYSITELIB}/gflags/exceptions.pyc
+${PYSITELIB}/gflags/exceptions.pyo
+${PYSITELIB}/gflags/flag.py
+${PYSITELIB}/gflags/flag.pyc
+${PYSITELIB}/gflags/flag.pyo
+${PYSITELIB}/gflags/flags_formatting_test.py
+${PYSITELIB}/gflags/flags_formatting_test.pyc
+${PYSITELIB}/gflags/flags_formatting_test.pyo
+${PYSITELIB}/gflags/flags_unicode_literals_test.py
+${PYSITELIB}/gflags/flags_unicode_literals_test.pyc
+${PYSITELIB}/gflags/flags_unicode_literals_test.pyo
+${PYSITELIB}/gflags/flagvalues.py
+${PYSITELIB}/gflags/flagvalues.pyc
+${PYSITELIB}/gflags/flagvalues.pyo
+${PYSITELIB}/gflags/third_party/__init__.py
+${PYSITELIB}/gflags/third_party/__init__.pyc
+${PYSITELIB}/gflags/third_party/__init__.pyo
+${PYSITELIB}/gflags/third_party/pep257/__init__.py
+${PYSITELIB}/gflags/third_party/pep257/__init__.pyc
+${PYSITELIB}/gflags/third_party/pep257/__init__.pyo
+${PYSITELIB}/gflags/validators.py
+${PYSITELIB}/gflags/validators.pyc
+${PYSITELIB}/gflags/validators.pyo
diff -r 3c8af7520bd5 -r 7bd10661111a devel/py-gflags/distinfo
--- a/devel/py-gflags/distinfo Sun Feb 04 10:14:29 2018 +0000
+++ b/devel/py-gflags/distinfo Sun Feb 04 10:16:17 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2015/11/03 03:29:08 agc Exp $
+$NetBSD: distinfo,v 1.3 2018/02/04 10:16:17 bsiegert Exp $
-SHA1 (python-gflags-2.0.tar.gz) = db309e6964b102ff36de319ce551db512a78281e
-RMD160 (python-gflags-2.0.tar.gz) = b54a08bbb4dfb79cea17aef60e65f0847aab0a26
-SHA512 (python-gflags-2.0.tar.gz) = 28566acffd092f09105f3b9ad3be4ada11f024f940914e6efb103907f3779283c63bdfe13edad83aa470c5e887b49ad8b05031fc1895f3bad9b5d9c368bbfe18
-Size (python-gflags-2.0.tar.gz) = 64929 bytes
+SHA1 (python-gflags-3.1.2.tar.gz) = fea9fe14d709e98ef838a17546c0da7c403ce20f
+RMD160 (python-gflags-3.1.2.tar.gz) = c5aea23fffa376624e9d15cbe35807e1323ad27d
+SHA512 (python-gflags-3.1.2.tar.gz) = 7a3c08b6b212cdb9cb7feaa48e3875d1204a4b3a57182508a078331565f70509d00c315400fa0316dbf61ed4d6a6a04ca8c1a2303567d37650d8dfbb329e2f6c
+Size (python-gflags-3.1.2.tar.gz) = 52093 bytes
Home |
Main Index |
Thread Index |
Old Index