Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2019-03-12 09:45:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and      /work/SRC/openSUSE:Factory/.python-packaging.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-packaging"

Tue Mar 12 09:45:51 2019 rev:11 rq:682976 version:19.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes        
2019-01-05 14:40:28.612576071 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.28833/python-packaging.changes 
    2019-03-12 09:45:52.635628212 +0100
@@ -1,0 +2,19 @@
+Sat Mar  9 04:56:34 UTC 2019 - John Vandenberg <[email protected]>
+
+- Fix check that egg-info is a directory to work with %check enabled,
+  and better explain how it works
+- Remove unnecessary build dependency on base
+- Re-add test dependency on pyparsing with minimum version defined upstream,
+  and replace inline comment with GitHub issue URL
+- Add LICENSE.APACHE LICENSE.BSD to %license
+- Update to v19.0
+  * Fix string representation of PEP 508 direct URL requirements with markers.
+  * Better handling of file URLs
+    This allows for using ``file:///absolute/path``, which was previously
+    prevented due to the missing ``netloc``
+    This allows for all file URLs that ``urlunparse`` turns back into the
+    original URL to be valid
+- from v18.0
+  * Improve error messages when invalid requirements are given
+
+-------------------------------------------------------------------
@@ -4 +23 @@
-- Drop pyparsing depndency as its not needed and creates circular
+- Drop pyparsing dependency as its not needed and creates circular

Old:
----
  packaging-17.1.tar.gz

New:
----
  packaging-19.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-packaging.spec ++++++
--- /var/tmp/diff_new_pack.56tiOe/_old  2019-03-12 09:45:53.811627977 +0100
+++ /var/tmp/diff_new_pack.56tiOe/_new  2019-03-12 09:45:53.815627977 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-packaging
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,21 +19,17 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_with test
 Name:           python-packaging
-Version:        17.1
+Version:        19.0
 Release:        0
 Summary:        Core utilities for Python packages
 License:        Apache-2.0
 Group:          Development/Languages/Python
 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 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)
+# https://github.com/pypa/packaging/issues/91
 Requires:       python-pyparsing >= 2.0.2
 Requires:       python-six
 BuildArch:      noarch
@@ -43,6 +39,7 @@
 # (at the moment, six and pyparsing are ok)
 %if %{with test}
 BuildRequires:  %{python_module pretend}
+BuildRequires:  %{python_module pyparsing >= 2.0.2}
 BuildRequires:  %{python_module pytest}
 %endif
 %python_subpackages
@@ -52,14 +49,18 @@
 
 %prep
 %setup -q -n packaging-%{version}
+# sdist must provide a packaging.egg-info, used below in install phase
+test -d packaging.egg-info
 
 %build
 %python_build
 
 %install
 %python_install
-# ensure egg-info is a directory
-%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info
+# Replace distutils generated egg-info, which varies in metadata version and
+# structure (single file vs directory) based on distutils, with the egg-info
+# which is provided in the sdist and uses same metadata version as setuptools.
+%{python_expand rm -r %{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}
@@ -70,8 +71,7 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
-%license LICENSE
+%license LICENSE LICENSE.APACHE LICENSE.BSD
 %doc CHANGELOG.rst README.rst
 %{python_sitelib}/packaging
 %{python_sitelib}/packaging-%{version}-py*.egg-info/

++++++ packaging-17.1.tar.gz -> packaging-19.0.tar.gz ++++++
++++ 2703 lines of diff (skipped)


Reply via email to