head 1.12; access; symbols pkgsrc-2023Q4:1.12.0.16 pkgsrc-2023Q4-base:1.12 pkgsrc-2023Q3:1.12.0.14 pkgsrc-2023Q3-base:1.12 pkgsrc-2023Q2:1.12.0.12 pkgsrc-2023Q2-base:1.12 pkgsrc-2023Q1:1.12.0.10 pkgsrc-2023Q1-base:1.12 pkgsrc-2022Q4:1.12.0.8 pkgsrc-2022Q4-base:1.12 pkgsrc-2022Q3:1.12.0.6 pkgsrc-2022Q3-base:1.12 pkgsrc-2022Q2:1.12.0.4 pkgsrc-2022Q2-base:1.12 pkgsrc-2022Q1:1.12.0.2 pkgsrc-2022Q1-base:1.12 pkgsrc-2021Q4:1.10.0.18 pkgsrc-2021Q4-base:1.10 pkgsrc-2021Q3:1.10.0.16 pkgsrc-2021Q3-base:1.10 pkgsrc-2021Q2:1.10.0.14 pkgsrc-2021Q2-base:1.10 pkgsrc-2021Q1:1.10.0.12 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.10.0.10 pkgsrc-2020Q4-base:1.10 pkgsrc-2020Q3:1.10.0.8 pkgsrc-2020Q3-base:1.10 pkgsrc-2020Q2:1.10.0.6 pkgsrc-2020Q2-base:1.10 pkgsrc-2020Q1:1.10.0.2 pkgsrc-2020Q1-base:1.10 pkgsrc-2019Q4:1.10.0.4 pkgsrc-2019Q4-base:1.10 pkgsrc-2019Q3:1.9.0.12 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.10 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.8 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.6 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.4 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.2 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.7.0.2 pkgsrc-2018Q1-base:1.7 pkgsrc-2017Q4:1.6.0.6 pkgsrc-2017Q4-base:1.6 pkgsrc-2017Q3:1.6.0.4 pkgsrc-2017Q3-base:1.6 pkgsrc-2017Q2:1.5.0.4 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.2 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.4.0.4 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.2 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.3.0.6 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.4 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.2 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.2.0.6 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.4 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.2 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.1.0.2 pkgsrc-2014Q4-base:1.1; locks; strict; comment @# @; 1.12 date 2022.01.04.20.53.07; author wiz; state Exp; branches; next 1.11; commitid CYyhdK9qtoffkmnD; 1.11 date 2022.01.01.17.31.36; author wiz; state Exp; branches; next 1.10; commitid o3YYvhVOF4ZujXmD; 1.10 date 2019.11.03.10.18.27; author rillig; state Exp; branches; next 1.9; commitid zgSUHbyByvXhjoJB; 1.9 date 2018.05.31.20.07.00; author bsiegert; state Exp; branches; next 1.8; commitid 5FQzeTArkq4cjuEA; 1.8 date 2018.05.25.02.08.36; author bsiegert; state Exp; branches; next 1.7; commitid SztudWBvwdNqxCDA; 1.7 date 2018.02.04.10.16.17; author bsiegert; state Exp; branches; next 1.6; commitid rxdP4voz2ltDLwpA; 1.6 date 2017.09.04.18.55.08; author wiz; state Exp; branches; next 1.5; commitid AU108Aos9P41zU5A; 1.5 date 2017.01.01.14.43.33; author wiz; state Exp; branches; next 1.4; commitid TmfhF2MIYbgU4hAz; 1.4 date 2016.07.09.13.03.41; author wiz; state Exp; branches; next 1.3; commitid k9A2yv7vTRunbEdz; 1.3 date 2015.12.05.21.25.37; author adam; state Exp; branches; next 1.2; commitid bgA0CynThkP3WNLy; 1.2 date 2014.12.31.13.57.27; author wiz; state Exp; branches; next 1.1; commitid ybQxkgXABHSTlc4y; 1.1 date 2014.11.26.15.01.12; author wiz; state Exp; branches; next ; commitid YVAENOy3Kt2CPHZx; desc @@ 1.12 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @# $NetBSD: Makefile,v 1.11 2022/01/01 17:31:36 wiz Exp $ DISTNAME= python-gflags-3.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/python-//} PKGREVISION= 4 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-gflags/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/google/python-gflags COMMENT= Python equivalent of gflags, a commandline flag implementation LICENSE= modified-bsd DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six REPLACE_PYTHON+= *.py PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: ${MV} ${DESTDIR}${PREFIX}/bin/gflags2man.py ${DESTDIR}${PREFIX}/bin/gflags2man${PYVERSSUFFIX}.py ${CHMOD} +x ${DESTDIR}${PREFIX}/bin/gflags2man${PYVERSSUFFIX}.py .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.11 log @py-gflags: convert to egg.mk Disable python 2.7 version, which would need a hack. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2019/11/03 10:18:27 rillig Exp $ d5 1 a5 1 PKGREVISION= 3 @ 1.10 log @devel/py-*: align variable assignments pkglint -Wall -F --only aligned --only indent -r No manual corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2018/05/31 20:07:00 bsiegert Exp $ d5 1 a5 1 PKGREVISION= 2 d14 1 a14 2 REPLACE_PYTHON+= *.py PYDISTUTILSPKG= yes d16 2 a17 1 DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six d24 1 a24 1 .include "../../lang/python/distutils.mk" @ 1.9 log @Fix installation of the gflags2man script. - install with a name that contains the Python version - add alternatives file - correctly mark script executable - bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2018/05/25 02:08:36 bsiegert Exp $ d15 1 a15 1 PYDISTUTILSPKG= yes @ 1.8 log @Also install the egg-info file. Bump revision. Part of PR pkg/52941. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2018/02/04 10:16:17 bsiegert Exp $ d5 1 a5 1 PKGREVISION= 1 d19 4 @ 1.7 log @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. * python-gflags: version 3.1.2. * New API names for compatibility with abseil-py. Mon Jan 30 00:00:01 2017 Google Inc. * python-gflags: version 3.1.1. * Added PEP8 style method/function aliases. Tue Nov 01 00:00:01 2016 Google Inc. * 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. * 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. * 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. * 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. * 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. * python-gflags: version 3.0.2 * Fix MANIFEST.in to include all relevant files. Thu Feb 04 22:23:00 2016 Google Inc. * 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. * 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. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2017/09/04 18:55:08 wiz Exp $ d5 1 d20 1 a20 1 .include "../../lang/python/extension.mk" @ 1.6 log @Update some URLs. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/01/01 14:43:33 wiz Exp $ d3 1 a3 1 DISTNAME= python-gflags-2.0 d6 1 a6 1 MASTER_SITES= http://python-gflags.googlecode.com/files/ d13 2 a14 1 PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # as of 2.0 d16 1 a16 1 REPLACE_PYTHON+= *.py d19 1 a19 1 .include "../../lang/python/egg.mk" @ 1.5 log @Add python-3.6 to incompatible versions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/07/09 13:03:41 wiz Exp $ d9 1 a9 1 HOMEPAGE= http://code.google.com/p/python-gflags/ @ 1.4 log @Remove python33: adapt all packages that refer to it. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2015/12/05 21:25:37 adam Exp $ d13 1 a13 1 PYTHON_VERSIONS_INCOMPATIBLE= 34 35 # as of 2.0 @ 1.3 log @Extend PYTHON_VERSIONS_INCOMPATIBLE to 35 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2014/12/31 13:57:27 wiz Exp $ d13 1 a13 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # as of 2.0 @ 1.2 log @Improve EGG_NAME default to work for packages with '-' in their name. Remove now unnecessary overrides in various packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2014/11/26 15:01:12 wiz Exp $ d13 1 a13 1 PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # as of 2.0 @ 1.1 log @Import py27-gflags-2.0 as devel/py-gflags. 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. @ text @d1 1 a1 1 # $NetBSD$ a14 2 EGG_NAME= ${DISTNAME:S/-/_/} @