Hello community,
here is the log from the commit of package python-packaging for openSUSE:Factory checked in at 2019-01-05 14:40:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
and /work/SRC/openSUSE:Factory/.python-packaging.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-packaging"
Sat Jan 5 14:40:00 2019 rev:10 rq:661732 version:17.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes 2018-03-26 12:32:11.396155035 +0200
+++ /work/SRC/openSUSE:Factory/.python-packaging.new.28833/python-packaging.changes 2019-01-05 14:40:28.612576071 +0100
@@ -1,0 +2,7 @@
+Fri Dec 28 08:49:34 UTC 2018 - Martin Pluskal
+
+- Drop pyparsing depndency as its not needed and creates circular
+ dependency on older distributions
+- Reduce amount of duplicities
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-packaging.spec ++++++
--- /var/tmp/diff_new_pack.PLXLC9/_old 2019-01-05 14:40:29.132575629 +0100
+++ /var/tmp/diff_new_pack.PLXLC9/_new 2019-01-05 14:40:29.156575610 +0100
@@ -12,25 +12,31 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%bcond_with test
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_with test
Name: python-packaging
Version: 17.1
Release: 0
Summary: Core utilities for Python packages
License: Apache-2.0
Group: Development/Languages/Python
-Url: https://github.com/pypa/packaging
+URL: https://github.com/pypa/packaging
Source: https://pypi.io/packages/source/p/packaging/packaging-%{version}.tar.gz
BuildRequires: %{python_module base}
-BuildRequires: %{python_module pyparsing >= 2.0.2}
BuildRequires: %{python_module six}
+BuildRequires: fdupes
BuildRequires: python-rpm-macros
+# older versions produce:
+# File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>
+# MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
+# TypeError: __call__() takes exactly 2 arguments (1 given)
+Requires: python-pyparsing >= 2.0.2
+Requires: python-six
+BuildArch: noarch
# do not add setuptools dependency, this is now a dependency
# of setuptools. Ensure that all dependencies also don't depend
# on setuptools
@@ -39,13 +45,6 @@
BuildRequires: %{python_module pretend}
BuildRequires: %{python_module pytest}
%endif
-# older versions produce:
-# File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 59, in <module>
-# MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
-# TypeError: __call__() takes exactly 2 arguments (1 given)
-Requires: python-pyparsing >= 2.0.2
-Requires: python-six
-BuildArch: noarch
%python_subpackages
%description
@@ -63,6 +62,7 @@
%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info
cp -r packaging.egg-info %{buildroot}%{$python_sitelib}/packaging-%{version}-py%{$python_version}.egg-info
}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
@@ -71,7 +71,8 @@
%files %{python_files}
%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE README.rst
+%license LICENSE
+%doc CHANGELOG.rst README.rst
%{python_sitelib}/packaging
%{python_sitelib}/packaging-%{version}-py*.egg-info/