Hello community,
here is the log from the commit of package python-python-gflags for
openSUSE:Factory checked in at 2017-04-28 10:54:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-python-gflags (Old)
and /work/SRC/openSUSE:Factory/.python-python-gflags.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-python-gflags"
Fri Apr 28 10:54:19 2017 rev:9 rq:491576 version:3.1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-python-gflags/python-python-gflags.changes
2014-02-15 08:06:59.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-python-gflags.new/python-python-gflags.changes
2017-04-28 10:54:21.613991768 +0200
@@ -1,0 +2,57 @@
+Wed Apr 26 16:20:48 UTC 2017 - [email protected]
+
+- Provide python-gflags in the python2 package
+
+-------------------------------------------------------------------
+Tue Apr 25 21:48:26 UTC 2017 - [email protected]
+
+- Fix URL.
+
+-------------------------------------------------------------------
+Tue Apr 25 20:13:24 UTC 2017 - [email protected]
+
+- Update to version 3.1.1
+ * Added PEP8 style method/function aliases.
+- Update to 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.
+- Update to version 3.0.7
+ * Removed the unused method ShortestUniquePrefixes.
+ * Removed _GetCallingModule function alias.
+- Update to version 3.0.6
+ * Declared pypi package classifiers.
+ * Added support for CLIF flag processing (not included in python-gflags repo
+ yet).
+- Update to version 3.0.5
+ * Added a warning when FLAGS.SetDefault is used after flags were parsed.
+ * Added new function: MarkFlagsAsRequired.
+- Update to version 3.0.4
+ * One more fix for setup.py - this time about third_party package.
+- Update to 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()
+- Update to version 3.0.2
+ * Fix MANIFEST.in to include all relevant files.
+- Update to version 3.0.1
+ * Some changes for python3 compatibility.
+ * Automatically generate ordering operations for Flag.
+ * Add optional comma compatibility to whitespace-separated list flags.
+ * 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.
+- Fix source URL
+- Implement single-spec version
+
+-------------------------------------------------------------------
Old:
----
python-gflags-2.0.tar.gz
New:
----
python-gflags-3.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-python-gflags.spec ++++++
--- /var/tmp/diff_new_pack.VoE3mK/_old 2017-04-28 10:54:22.341888894 +0200
+++ /var/tmp/diff_new_pack.VoE3mK/_new 2017-04-28 10:54:22.349887763 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-python-gflags
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,31 @@
#
+%define oldpython python
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-gflags
-Version: 2.0
+Version: 3.1.1
Release: 0
Url: http://code.google.com/p/python-gflags
Summary: Google Commandline Flags Module
License: BSD-3-Clause
Group: Development/Languages/Python
-Source:
http://pypi.python.org/packages/source/p/python-gflags/python-gflags-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/p/python-gflags/python-gflags-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: python-devel
-BuildRequires: python-setuptools
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Provides: python-gflags = %{version}
-# Change to < after 1.6 release
-Obsoletes: python-gflags <= %{version}
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} > 1110
-BuildArch: noarch
-%endif
+Obsoletes: python-gflags < %{version}
+%ifpython2
+Provides: %{oldpython}-gflags = %{version}
+Obsoletes: %{oldpython}-gflags < %{version}
%endif
-%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+BuildArch: noarch
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
+%python_subpackages
%description
This project is the python equivalent of google-gflags, a Google commandline
@@ -55,17 +59,24 @@
%setup -q -n python-gflags-%{version}
%build
-python setup.py build
+%python_build
%install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-# Remove ext from name
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
mv %{buildroot}%{_bindir}/gflags2man.py %{buildroot}%{_bindir}/gflags2man
+%python_clone -a %{buildroot}%{_bindir}/gflags2man
+
+%post
+%python_install_alternative gflags2man
+
+%preun
+%python_uninstall_alternative gflags2man
-%files
+%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING README
-%{_bindir}/gflags2man
+%python_alternative %{_bindir}/gflags2man
%{python_sitelib}/*
%changelog
++++++ python-gflags-2.0.tar.gz -> python-gflags-3.1.1.tar.gz ++++++
++++ 11233 lines of diff (skipped)