pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-gflags



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Sun Feb  4 10:16:17 UTC 2018

Modified Files:
        pkgsrc/devel/py-gflags: Makefile PLIST distinfo

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@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.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-gflags/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-gflags/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-gflags/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-gflags/Makefile
diff -u pkgsrc/devel/py-gflags/Makefile:1.6 pkgsrc/devel/py-gflags/Makefile:1.7
--- pkgsrc/devel/py-gflags/Makefile:1.6 Mon Sep  4 18:55:08 2017
+++ pkgsrc/devel/py-gflags/Makefile     Sun Feb  4 10:16:17 2018
@@ -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
+
+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"

Index: pkgsrc/devel/py-gflags/PLIST
diff -u pkgsrc/devel/py-gflags/PLIST:1.1 pkgsrc/devel/py-gflags/PLIST:1.2
--- pkgsrc/devel/py-gflags/PLIST:1.1    Wed Nov 26 15:01:12 2014
+++ pkgsrc/devel/py-gflags/PLIST        Sun Feb  4 10:16:17 2018
@@ -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

Index: pkgsrc/devel/py-gflags/distinfo
diff -u pkgsrc/devel/py-gflags/distinfo:1.2 pkgsrc/devel/py-gflags/distinfo:1.3
--- pkgsrc/devel/py-gflags/distinfo:1.2 Tue Nov  3 03:29:08 2015
+++ pkgsrc/devel/py-gflags/distinfo     Sun Feb  4 10:16:17 2018
@@ -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