commit python-packaging for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2020-06-05 19:59:50

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new.3606 (New)


Package is "python-packaging"

Fri Jun  5 19:59:50 2020 rev:17 rq:810910 version:20.4

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2020-05-07 15:06:03.463779208 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.3606/python-packaging.changes  
2020-06-05 19:59:59.155891303 +0200
@@ -1,0 +2,10 @@
+Tue Jun  2 16:35:59 UTC 2020 - Dirk Mueller 
+
+- update to 20.4:
+  * Canonicalize version before comparing specifiers. (:issue:`282`)
+  * Change type hint for ``canonicalize_name`` to return
+  ``packaging.utils.NormalizedName``.
+  This enables the use of static typing tools (like mypy) to detect mixing of
+  normalized and un-normalized names.
+
+---

Old:

  packaging-20.3.tar.gz

New:

  packaging-20.4.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.lb1cjb/_old  2020-06-05 20:00:00.447895772 +0200
+++ /var/tmp/diff_new_pack.lb1cjb/_new  2020-06-05 20:00:00.451895786 +0200
@@ -26,7 +26,7 @@
 %bcond_with test
 %endif
 Name:   python-packaging%{psuffix}
-Version:20.3
+Version:20.4
 Release:0
 Summary:Core utilities for Python packages
 License:Apache-2.0

++ packaging-20.3.tar.gz -> packaging-20.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.3/.pre-commit-config.yaml 
new/packaging-20.4/.pre-commit-config.yaml
--- old/packaging-20.3/.pre-commit-config.yaml  2020-01-28 08:07:37.0 
+0100
+++ new/packaging-20.4/.pre-commit-config.yaml  2020-04-15 17:43:30.0 
+0200
@@ -8,7 +8,7 @@
   - id: trailing-whitespace
 
 - repo: https://github.com/pre-commit/mirrors-mypy
-  rev: v0.750
+  rev: v0.770
   hooks:
   - id: mypy
 exclude: '^(docs|tasks|tests)|setup\.py'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.3/CHANGELOG.rst 
new/packaging-20.4/CHANGELOG.rst
--- old/packaging-20.3/CHANGELOG.rst2020-03-05 08:48:02.0 +0100
+++ new/packaging-20.4/CHANGELOG.rst2020-05-19 08:29:48.0 +0200
@@ -1,6 +1,15 @@
 Changelog
 -
 
+20.4 - 2020-05-19
+~
+
+* Canonicalize version before comparing specifiers. (:issue:`282`)
+* Change type hint for ``canonicalize_name`` to return
+  ``packaging.utils.NormalizedName``.
+  This enables the use of static typing tools (like mypy) to detect mixing of
+  normalized and un-normalized names.
+
 20.3 - 2020-03-05
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.3/PKG-INFO new/packaging-20.4/PKG-INFO
--- old/packaging-20.3/PKG-INFO 2020-03-05 08:48:09.689097600 +0100
+++ new/packaging-20.4/PKG-INFO 2020-05-19 08:29:49.759008200 +0200
@@ -1,11 +1,11 @@
 Metadata-Version: 2.1
 Name: packaging
-Version: 20.3
+Version: 20.4
 Summary: Core utilities for Python packages
 Home-page: https://github.com/pypa/packaging
 Author: Donald Stufft and individual contributors
 Author-email: don...@stufft.io
-License: BSD or Apache License, Version 2.0
+License: BSD-2-Clause or Apache-2.0
 Description: packaging
 =
 
@@ -74,6 +74,15 @@
 Changelog
 -
 
+20.4 - 2020-05-19
+~
+
+* Canonicalize version before comparing specifiers. (`#282 
`__)
+* Change type hint for ``canonicalize_name`` to return
+  ``packaging.utils.NormalizedName``.
+  This enables the use of static typing tools (like mypy) to detect 
mixing of
+  normalized and un-normalized names.
+
 20.3 - 2020-03-05
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.3/docs/version.rst 
new/packaging-20.4/docs/version.rst
--- old/packaging-20.3/docs/version.rst 2018-06-07 12:17:11.0 +0200
+++ new/packaging-20.4/docs/version.rst 2020-05-19 08:29:11.0 +0200
@@ -86,6 +86,18 @@
 version number, including trailing zeroes but not including the epoch
 or any prerelease/development/postrelease suffixes
 
+.. attribute:: major
+
+An integer representing the first item of :attr:`release` or ``0`` if 
unavailable.
+
+.. attribute:: minor
+
+

commit python-packaging for openSUSE:Factory

2020-05-07 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2020-05-07 15:05:50

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new.2738 (New)


Package is "python-packaging"

Thu May  7 15:05:50 2020 rev:16 rq:800247 version:20.3

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2020-03-27 00:20:10.172101146 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.2738/python-packaging.changes  
2020-05-07 15:06:03.463779208 +0200
@@ -1,0 +2,7 @@
+Tue May  5 07:23:22 UTC 2020 - Tomáš Chvátal 
+
+- Ignore clamav scan as it bogusly calls one file to be infected
+  while it is just a testcase of malformed binary:
+  #!BuildIgnore: post-build-checks-malwarescan
+
+---



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.gBdEB9/_old  2020-05-07 15:06:04.467781428 +0200
+++ /var/tmp/diff_new_pack.gBdEB9/_new  2020-05-07 15:06:04.471781437 +0200
@@ -30,12 +30,12 @@
 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
+Source: 
https://files.pythonhosted.org/packages/source/p/packaging/packaging-%{version}.tar.gz
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+#!BuildIgnore:  post-build-checks-malwarescan
 Requires:   python-pyparsing >= 2.0.2
 Requires:   python-six
 BuildArch:  noarch




commit python-packaging for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2020-03-27 00:20:05

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new.3160 (New)


Package is "python-packaging"

Fri Mar 27 00:20:05 2020 rev:15 rq:783881 version:20.3

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2020-02-14 16:22:51.807108873 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.3160/python-packaging.changes  
2020-03-27 00:20:10.172101146 +0100
@@ -1,0 +2,8 @@
+Wed Mar 11 14:37:16 UTC 2020 - Marketa Calabkova 
+
+- Update to 20.3
+  * Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU 
+(e.g. ARM-v8, aarch64), to report the wrong bitness.
+- Drop already upstreamed patch issue_254.patch
+
+---

Old:

  issue_254.patch
  packaging-20.1.tar.gz

New:

  packaging-20.3.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.oUGpiI/_old  2020-03-27 00:20:11.896101982 +0100
+++ /var/tmp/diff_new_pack.oUGpiI/_new  2020-03-27 00:20:11.900101984 +0100
@@ -26,14 +26,13 @@
 %bcond_with test
 %endif
 Name:   python-packaging%{psuffix}
-Version:20.1
+Version:20.3
 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
-Patch0: issue_254.patch
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -56,7 +55,6 @@
 
 %prep
 %setup -q -n packaging-%{version}
-%patch0 -p1
 # sdist must provide a packaging.egg-info, used below in install phase
 test -d packaging.egg-info
 

++ packaging-20.1.tar.gz -> packaging-20.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.1/.pre-commit-config.yaml 
new/packaging-20.3/.pre-commit-config.yaml
--- old/packaging-20.1/.pre-commit-config.yaml  2020-01-06 07:17:18.0 
+0100
+++ new/packaging-20.3/.pre-commit-config.yaml  2020-01-28 08:07:37.0 
+0100
@@ -15,7 +15,7 @@
 args: []
   - id: mypy
 name: mypy for Python 2
-exclude: '^(docs|tasks|tests)|setup\.py'
+exclude: '^(docs|tasks|tests)|setup\.py|noxfile\.py'
 args: ['--py2']
 
 - repo: https://github.com/psf/black
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.1/CHANGELOG.rst 
new/packaging-20.3/CHANGELOG.rst
--- old/packaging-20.1/CHANGELOG.rst2020-01-24 11:50:30.0 +0100
+++ new/packaging-20.3/CHANGELOG.rst2020-03-05 08:48:02.0 +0100
@@ -1,6 +1,17 @@
 Changelog
 -
 
+20.3 - 2020-03-05
+~
+
+* Fix changelog for 20.2.
+
+20.2 - 2020-03-05
+~
+
+* Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU (e.g. ARM-v8,
+  aarch64), to report the wrong bitness.
+
 20.1 - 2020-01-24
 ~~~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.1/MANIFEST.in 
new/packaging-20.3/MANIFEST.in
--- old/packaging-20.1/MANIFEST.in  2020-01-24 11:45:46.0 +0100
+++ new/packaging-20.3/MANIFEST.in  2020-01-27 12:17:06.0 +0100
@@ -4,12 +4,12 @@
 include .coveragerc
 include .flake8
 include .pre-commit-config.yaml
-include tox.ini
 
 recursive-include docs *
 recursive-include tests *.py
 recursive-include tests hello-world-*
 
+exclude noxfile.py
 exclude .travis.yml
 exclude dev-requirements.txt
 exclude tests/build-hello-world.sh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-20.1/PKG-INFO new/packaging-20.3/PKG-INFO
--- old/packaging-20.1/PKG-INFO 2020-01-24 11:53:36.945087400 +0100
+++ new/packaging-20.3/PKG-INFO 2020-03-05 08:48:09.689097600 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: packaging
-Version: 20.1
+Version: 20.3
 Summary: Core utilities for Python packages
 Home-page: https://github.com/pypa/packaging
 Author: Donald Stufft and individual contributors
@@ -74,6 +74,17 @@
 Changelog
 -
 
+20.3 - 2020-03-05
+~
+
+* Fix changelog for 20.2.
+
+20.2 - 2020-03-05
+~
+
+* Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU 
(e.g. ARM-v8,
+  aarch64), to report the wrong bitness.
+  

commit python-packaging for openSUSE:Factory

2020-02-14 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2020-02-14 16:22:41

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new.26092 (New)


Package is "python-packaging"

Fri Feb 14 16:22:41 2020 rev:14 rq:773191 version:20.1

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2019-10-10 11:51:43.871594192 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.26092/python-packaging.changes 
2020-02-14 16:22:51.807108873 +0100
@@ -1,0 +2,19 @@
+Mon Feb 10 14:51:38 UTC 2020 - Ondřej Súkup 
+
+- add issue_254.patch to fix tests under non-x86_64 pplatforms 
+
+---
+Wed Feb  5 13:45:06 UTC 2020 - Ondřej Súkup 
+
+- Update to 20.1
+ * Fix a bug caused by reuse of an exhausted iterator.
+ * Add type hints
+ * Add proper trove classifiers for PyPy support 
+ * Scale back depending on ctypes for manylinux support detection 
+ * Use sys.implementation.name where appropriate for packaging.tags
+ * Expand upon the API provded by packaging.tags
+ * Officially support Python 3.8 
+ * Add major, minor, and micro aliases to packaging.version.Version 
+ * Properly mark packaging has being fully typed by adding a py.typed file
+
+---

Old:

  packaging-19.2.tar.gz

New:

  issue_254.patch
  packaging-20.1.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.dUuFBl/_old  2020-02-14 16:22:53.307109687 +0100
+++ /var/tmp/diff_new_pack.dUuFBl/_new  2020-02-14 16:22:53.311109689 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-packaging
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,13 +26,14 @@
 %bcond_with test
 %endif
 Name:   python-packaging%{psuffix}
-Version:19.2
+Version:20.1
 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
+Patch0: issue_254.patch
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -55,6 +56,7 @@
 
 %prep
 %setup -q -n packaging-%{version}
+%patch0 -p1
 # sdist must provide a packaging.egg-info, used below in install phase
 test -d packaging.egg-info
 

++ issue_254.patch ++
>From f1d67cb7b6903c29c725fe46777d6e28757e04d5 Mon Sep 17 00:00:00 2001
From: Marius Bakke 
Date: Tue, 4 Feb 2020 09:29:23 +0100
Subject: [PATCH] Fix test_linux_platforms_manylinux* on architectures other
 than x86_64 (#256)

* Fix test_linux_platforms_manylinux tests for i686.

  By not assuming the platform is x86_64.  Fixes #254.

* Allow test_linux_platforms_manylinux tests to pass on non x86.

  The expected output only occurs on x86 platforms, so mock it on other
  architectures.

Co-authored-by: Brett Cannon <54418+brettcan...@users.noreply.github.com>
---
 tests/test_tags.py | 30 ++
 1 file changed, 18 insertions(+), 12 deletions(-)

diff --git a/tests/test_tags.py b/tests/test_tags.py
index 1c05969..d7c1514 100644
--- a/tests/test_tags.py
+++ b/tests/test_tags.py
@@ -435,37 +435,43 @@ def test_linux_platforms_manylinux_unsupported(self, 
monkeypatch):
 linux_platform = list(tags._linux_platforms(is_32bit=False))
 assert linux_platform == ["linux_x86_64"]
 
-def test_linux_platforms_manylinux1(self, monkeypatch):
+def test_linux_platforms_manylinux1(self, is_x86, monkeypatch):
 monkeypatch.setattr(
 tags, "_is_manylinux_compatible", lambda name, _: name == 
"manylinux1"
 )
-if platform.system() != "Linux":
+if platform.system() != "Linux" or not is_x86:
 monkeypatch.setattr(distutils.util, "get_platform", lambda: 
"linux_x86_64")
+monkeypatch.setattr(platform, "machine", lambda: "x86_64")
 platforms = list(tags._linux_platforms(is_32bit=False))
-assert platforms == ["manylinux1_x86_64", "linux_x86_64"]
+arch = platform.machine()
+assert platforms == ["manylinux1_" + arch, "linux_" + arch]
 
-def test_linux_platforms_manylinux2010(self, monkeypatch):
+def test_linux_platforms_manylinux2010(self, is_x86, monkeypatch):
 monkeypatch.setattr(
 

commit python-packaging for openSUSE:Factory

2019-10-10 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2019-10-10 11:51:41

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new.2352 (New)


Package is "python-packaging"

Thu Oct 10 11:51:41 2019 rev:13 rq:736042 version:19.2

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2019-08-27 15:23:16.772783693 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.2352/python-packaging.changes  
2019-10-10 11:51:43.871594192 +0200
@@ -1,0 +2,12 @@
+Tue Oct  8 09:22:51 UTC 2019 - Tomáš Chvátal 
+
+- Update to 19.2:
+  * Many buildsystem tweaks to accomodate for distribution shipping
+- Remove all the merged patches:
+  * 0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
+  * 0002-Fix-check-for-64-bit-OS.patch
+  * 0003-Add-additional-test-to-get-100-branch-coverage.patch
+  * 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
+  * 0005-Drop-dependency-on-attrs.patch
+
+---

Old:

  0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
  0002-Fix-check-for-64-bit-OS.patch
  0003-Add-additional-test-to-get-100-branch-coverage.patch
  0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
  0005-Drop-dependency-on-attrs.patch
  packaging-19.1.tar.gz

New:

  packaging-19.2.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.rFT0a8/_old  2019-10-10 11:51:44.959591305 +0200
+++ /var/tmp/diff_new_pack.rFT0a8/_new  2019-10-10 11:51:44.959591305 +0200
@@ -26,19 +26,13 @@
 %bcond_with test
 %endif
 Name:   python-packaging%{psuffix}
-Version:19.1
+Version:19.2
 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
-# FIXME: drop these patches on the next release after 19.1
-Patch0: 0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
-Patch1: 0002-Fix-check-for-64-bit-OS.patch
-Patch2: 0003-Add-additional-test-to-get-100-branch-coverage.patch
-Patch3: 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
-Patch4: 0005-Drop-dependency-on-attrs.patch
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -61,17 +55,9 @@
 
 %prep
 %setup -q -n packaging-%{version}
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
 # sdist must provide a packaging.egg-info, used below in install phase
 test -d packaging.egg-info
 
-# FIXME: drop this on the next release after 19.1
-sed -i '/^attrs/d' packaging.egg-info/requires.txt
-
 %build
 %python_build
 

++ packaging-19.1.tar.gz -> packaging-19.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-19.1/CHANGELOG.rst 
new/packaging-19.2/CHANGELOG.rst
--- old/packaging-19.1/CHANGELOG.rst2019-07-30 08:28:22.0 +0200
+++ new/packaging-19.2/CHANGELOG.rst2019-09-19 00:19:32.0 +0200
@@ -1,6 +1,21 @@
 Changelog
 -
 
+19.2 - 2019-09-18
+~
+
+* Remove dependency on ``attrs`` (:issue:`178`, :issue:`179`)
+
+* Use appropriate fallbacks for CPython ABI tag (:issue:`181`, :issue:`185`)
+
+* Add manylinux2014 support (:issue:`186`)
+
+* Improve ABI detection (:issue:`181`)
+
+* Properly handle debug wheels for Python 3.8 (:issue:`172`)
+
+* Improve detection of debug builds on Windows (:issue:`194`)
+
 19.1 - 2019-07-30
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-19.1/PKG-INFO new/packaging-19.2/PKG-INFO
--- old/packaging-19.1/PKG-INFO 2019-07-30 08:32:32.0 +0200
+++ new/packaging-19.2/PKG-INFO 2019-09-19 00:21:41.0 +0200
@@ -1,6 +1,6 @@
-Metadata-Version: 1.2
+Metadata-Version: 2.1
 Name: packaging
-Version: 19.1
+Version: 19.2
 Summary: Core utilities for Python packages
 Home-page: https://github.com/pypa/packaging
 Author: Donald Stufft and individual contributors
@@ -74,6 +74,21 @@
 Changelog
 -
 
+19.2 - 2019-09-18
+~
+
+* Remove dependency on ``attrs`` (`#178 
`__, `#179 
`__)
+
+* Use appropriate fallbacks for CPython ABI tag (`#181 


commit python-packaging for openSUSE:Factory

2019-08-27 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2019-08-27 15:22:44

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new.7948 (New)


Package is "python-packaging"

Tue Aug 27 15:22:44 2019 rev:12 rq:724992 version:19.1

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2019-03-12 09:45:52.635628212 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.7948/python-packaging.changes  
2019-08-27 15:23:16.772783693 +0200
@@ -1,0 +2,38 @@
+Mon Aug 19 08:15:30 UTC 2019 - Dan Čermák 
+
+- Remove dependency on attrs
+  Add: 0005-Drop-dependency-on-attrs.patch
+  this fixes bsc#1144506
+
+---
+Thu Aug 15 08:35:19 UTC 2019 - Tomáš Chvátal 
+
+- Fix a bit the multibuild conversion
+- Remove the attrs from the deps as they are no longer needed
+
+---
+Thu Aug  8 11:41:45 UTC 2019 - Dan Čermák 
+
+- Enable tests via _multibuild
+  Add patches from https://github.com/pypa/packaging/pull/176:
+  * 0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
+  * 0002-Fix-check-for-64-bit-OS.patch
+  * 0003-Add-additional-test-to-get-100-branch-coverage.patch
+  * 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
+  (these fix the tests on non-x86 platforms and can be dropped on the next
+  release)
+
+---
+Thu Aug  8 10:24:07 UTC 2019 - Dan Čermák 
+
+- Add Requires:python-attrs as this is a new dependency
+  this fixes bsc#1144506
+
+---
+Tue Aug  6 04:58:54 UTC 2019 - Thomas Bechtold 
+
+- update to 19.1:
+  * Add the ``packaging.tags`` module.
+  * Correctly handle two-digit versions in ``python_version``
+
+---

Old:

  packaging-19.0.tar.gz

New:

  0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
  0002-Fix-check-for-64-bit-OS.patch
  0003-Add-additional-test-to-get-100-branch-coverage.patch
  0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
  0005-Drop-dependency-on-attrs.patch
  _multibuild
  packaging-19.1.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.VRc75n/_old  2019-08-27 15:23:17.608783273 +0200
+++ /var/tmp/diff_new_pack.VRc75n/_new  2019-08-27 15:23:17.608783273 +0200
@@ -17,19 +17,31 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
 %bcond_with test
-Name:   python-packaging
-Version:19.0
+%endif
+Name:   python-packaging%{psuffix}
+Version:19.1
 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
+# FIXME: drop these patches on the next release after 19.1
+Patch0: 0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
+Patch1: 0002-Fix-check-for-64-bit-OS.patch
+Patch2: 0003-Add-additional-test-to-get-100-branch-coverage.patch
+Patch3: 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
+Patch4: 0005-Drop-dependency-on-attrs.patch
 BuildRequires:  %{python_module six}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-# https://github.com/pypa/packaging/issues/91
 Requires:   python-pyparsing >= 2.0.2
 Requires:   python-six
 BuildArch:  noarch
@@ -49,12 +61,26 @@
 
 %prep
 %setup -q -n packaging-%{version}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
 # sdist must provide a packaging.egg-info, used below in install phase
 test -d packaging.egg-info
 
+# FIXME: drop this on the next release after 19.1
+sed -i '/^attrs/d' packaging.egg-info/requires.txt
+
 %build
 %python_build
 
+%if %{with test}
+%check
+%pytest
+%endif # %%{with_test}
+
+%if !%{with test}
 %install
 %python_install
 # Replace distutils generated egg-info, which varies in metadata version and
@@ -65,15 +91,12 @@
 }
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with test}
-%check
-%python_exec %{_bindir}/py.test
-%endif
-
 %files %{python_files}
 %license LICENSE LICENSE.APACHE LICENSE.BSD
 %doc CHANGELOG.rst README.rst
 %{python_sitelib}/packaging
 %{python_sit

commit python-packaging for openSUSE:Factory

2019-03-12 Thread root
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 
+
+- 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 
-#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)




commit python-packaging for openSUSE:Factory

2019-01-05 Thread root
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 
+#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 
-#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/
 




commit python-packaging for openSUSE:Factory

2018-03-26 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2018-03-26 12:32:04

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new (New)


Package is "python-packaging"

Mon Mar 26 12:32:04 2018 rev:9 rq:590422 version:17.1

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2017-05-17 10:46:13.039506671 +0200
+++ /work/SRC/openSUSE:Factory/.python-packaging.new/python-packaging.changes   
2018-03-26 12:32:11.396155035 +0200
@@ -1,0 +2,12 @@
+Thu Mar 22 20:37:57 UTC 2018 - toddrme2...@gmail.com
+
+- Update to version 17.1
+  * Fix utils.canonicalize_version when supplying non PEP 440 versions.
+- Update to version 17.0
+  * Drop support for python 2.6, 3.2, and 3.3.
+  * Define minimal pyparsing version to 2.0.2 (#91).
+  * Add epoch, release, pre, dev, and post attributes to Version and 
LegacyVersion (#34).
+  * Add Version().is_devrelease and LegacyVersion().is_devrelease to make it 
easy to determine if a release is a development release.
+  * Add utils.canonicalize_version to canonicalize version strings or Version 
instances (#121).
+
+---

Old:

  packaging-16.8.tar.gz

New:

  packaging-17.1.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.sFJX7G/_old  2018-03-26 12:32:13.700072322 +0200
+++ /var/tmp/diff_new_pack.sFJX7G/_new  2018-03-26 12:32:13.704072178 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-packaging
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -20,7 +20,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-packaging
-Version:16.8
+Version:17.1
 Release:0
 Summary:Core utilities for Python packages
 License:Apache-2.0
@@ -28,7 +28,7 @@
 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}
+BuildRequires:  %{python_module pyparsing >= 2.0.2}
 BuildRequires:  %{python_module six}
 BuildRequires:  python-rpm-macros
 # do not add setuptools dependency, this is now a dependency
@@ -43,9 +43,8 @@
 #   File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 
59, in 
 #MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
 # TypeError: __call__() takes exactly 2 arguments (1 given)
-Requires:   python-pyparsing >= 2.2.0
+Requires:   python-pyparsing >= 2.0.2
 Requires:   python-six
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
 %python_subpackages
 

++ packaging-16.8.tar.gz -> packaging-17.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-16.8/CHANGELOG.rst 
new/packaging-17.1/CHANGELOG.rst
--- old/packaging-16.8/CHANGELOG.rst2016-10-29 17:54:54.0 +0200
+++ new/packaging-17.1/CHANGELOG.rst2018-02-28 18:51:13.0 +0100
@@ -1,6 +1,29 @@
 Changelog
 -
 
+17.1 - 2017-02-28
+~
+
+* Fix ``utils.canonicalize_version`` when supplying non PEP 440 versions.
+
+
+17.0 - 2017-02-28
+~
+
+* Drop support for python 2.6, 3.2, and 3.3.
+
+* Define minimal pyparsing version to 2.0.2 (:issue:`91`).
+
+* Add ``epoch``, ``release``, ``pre``, ``dev``, and ``post`` attributes to
+  ``Version`` and ``LegacyVersion`` (:issue:`34`).
+
+* Add ``Version().is_devrelease`` and ``LegacyVersion().is_devrelease`` to
+  make it easy to determine if a release is a development release.
+
+* Add ``utils.canonicalize_version`` to canonicalize version strings or
+  ``Version`` instances (:issue:`121`).
+
+
 16.8 - 2016-10-29
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-16.8/PKG-INFO new/packaging-17.1/PKG-INFO
--- old/packaging-16.8/PKG-INFO 2016-10-29 17:55:00.0 +0200
+++ new/packaging-17.1/PKG-INFO 2018-02-28 18:51:44.0 +0100
@@ -1,6 +1,6 @@
-Metadata-Version: 1.1
+Metadata-Version: 1.2
 Name: packaging
-Version: 16.8
+Version: 17.1
 Summary: Core utilities for Python packages
 Home-page: https://github.com/pypa/packaging
 Author: Donald Stufft and individual contributors
@@ -41,6 +41,29 @@
 Changelog
 -

commit python-packaging for openSUSE:Factory

2017-05-17 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2017-05-17 10:46:09

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new (New)


Package is "python-packaging"

Wed May 17 10:46:09 2017 rev:8 rq:493662 version:16.8

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2017-02-27 18:30:47.282327701 +0100
+++ /work/SRC/openSUSE:Factory/.python-packaging.new/python-packaging.changes   
2017-05-17 10:46:13.039506671 +0200
@@ -1,0 +2,5 @@
+Tue May  2 08:41:19 UTC 2017 - dmuel...@suse.com
+
+- fix pyparsing requirement
+
+---



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.Sfnffk/_old  2017-05-17 10:46:14.883247310 +0200
+++ /var/tmp/diff_new_pack.Sfnffk/_new  2017-05-17 10:46:14.887246747 +0200
@@ -39,7 +39,11 @@
 BuildRequires:  %{python_module pretend}
 BuildRequires:  %{python_module pytest}
 %endif
-Requires:   python-pyparsing
+# older versions produce:
+#   File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line 
59, in 
+#MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
+# TypeError: __call__() takes exactly 2 arguments (1 given)
+Requires:   python-pyparsing >= 2.2.0
 Requires:   python-six
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch




commit python-packaging for openSUSE:Factory

2017-02-27 Thread root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2017-02-27 18:30:46

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new (New)


Package is "python-packaging"

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2016-12-10 18:27:49.349365697 +0100
+++ /work/SRC/openSUSE:Factory/.python-packaging.new/python-packaging.changes   
2017-02-27 18:30:47.282327701 +0100
@@ -1,0 +2,9 @@
+Thu Feb 23 11:45:52 UTC 2017 - jmate...@suse.com
+
+- update for single-spec
+- drop setuptools dependency, as this is itself now a dependency
+  of setuptools
+- run tests conditionally, to minimize dependency tree
+- ensure egg-info is a directory (distutils would install it as file)
+
+---



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.CAkQKt/_old  2017-02-27 18:30:47.810253318 +0100
+++ /var/tmp/diff_new_pack.CAkQKt/_new  2017-02-27 18:30:47.814252755 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-packaging
 #
-# Copyright (c) 2016 SUSE LINUX 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,6 +16,9 @@
 #
 
 
+%bcond_with test
+
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-packaging
 Version:16.8
 Release:0
@@ -24,20 +27,23 @@
 Group:  Development/Languages/Python
 Url:https://github.com/pypa/packaging
 Source: 
https://pypi.io/packages/source/p/packaging/packaging-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-pretend
-BuildRequires:  python-pyparsing
-BuildRequires:  python-pytest
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
+BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module pyparsing}
+BuildRequires:  %{python_module six}
+BuildRequires:  python-rpm-macros
+# do not add setuptools dependency, this is now a dependency
+# of setuptools. Ensure that all dependencies also don't depend
+# on setuptools
+# (at the moment, six and pyparsing are ok)
+%if %{with test}
+BuildRequires:  %{python_module pretend}
+BuildRequires:  %{python_module pytest}
+%endif
 Requires:   python-pyparsing
 Requires:   python-six
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 BuildArch:  noarch
-%endif
+%python_subpackages
 
 %description
 Core utilities for Python packages
@@ -46,17 +52,24 @@
 %setup -q -n packaging-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+# ensure egg-info is a directory
+%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info
+cp -r packaging.egg-info 
%{buildroot}%{$python_sitelib}/packaging-%{version}-py%{$python_version}.egg-info
+}
 
+%if %{with test}
 %check
-py.test
+%python_exec %{_bindir}/py.test
+%endif
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
 %doc CHANGELOG.rst LICENSE README.rst
-%{python_sitelib}/*
+%{python_sitelib}/packaging
+%{python_sitelib}/packaging-%{version}-py*.egg-info/
 
 %changelog




commit python-packaging for openSUSE:Factory

2016-06-07 Thread h_root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2016-06-07 23:49:33

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new (New)


Package is "python-packaging"

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2016-03-11 09:38:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-packaging.new/python-packaging.changes   
2016-06-07 23:49:35.0 +0200
@@ -1,0 +2,9 @@
+Wed May 25 10:55:53 UTC 2016 - tbecht...@suse.com
+
+- update to 16.7:
+  * Add support for the deprecated ``python_implementation`` marker which was
+an undocumented setuptools marker in addition to the newer markers.
+  * Add support for the deprecated, PEP 345 environment markers in addition to
+the newer markers.
+
+---

Old:

  packaging-16.5.tar.gz

New:

  packaging-16.7.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.1y5zFl/_old  2016-06-07 23:49:36.0 +0200
+++ /var/tmp/diff_new_pack.1y5zFl/_new  2016-06-07 23:49:36.0 +0200
@@ -17,13 +17,13 @@
 
 
 Name:   python-packaging
-Version:16.5
+Version:16.7
 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.python.org/packages/source/p/packaging/packaging-%{version}.tar.gz
+Source: 
https://pypi.io/packages/source/p/packaging/packaging-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-pretend
 BuildRequires:  python-pyparsing

++ packaging-16.5.tar.gz -> packaging-16.7.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-16.5/CHANGELOG.rst 
new/packaging-16.7/CHANGELOG.rst
--- old/packaging-16.5/CHANGELOG.rst2016-02-26 19:29:04.0 +0100
+++ new/packaging-16.7/CHANGELOG.rst2016-04-23 22:29:17.0 +0200
@@ -1,6 +1,20 @@
 Changelog
 -
 
+16.7 - 2016-04-23
+~
+
+* Add support for the deprecated ``python_implementation`` marker which was
+  an undocumented setuptools marker in addition to the newer markers.
+
+
+16.6 - 2016-03-29
+~
+
+* Add support for the deprecated, PEP 345 environment markers in addition to
+  the newer markers.
+
+
 16.5 - 2016-02-26
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-16.5/PKG-INFO new/packaging-16.7/PKG-INFO
--- old/packaging-16.5/PKG-INFO 2016-02-26 19:29:10.0 +0100
+++ new/packaging-16.7/PKG-INFO 2016-04-23 22:33:25.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: packaging
-Version: 16.5
+Version: 16.7
 Summary: Core utilities for Python packages
 Home-page: https://github.com/pypa/packaging
 Author: Donald Stufft and individual contributors
@@ -41,6 +41,20 @@
 Changelog
 -
 
+16.7 - 2016-04-23
+~
+
+* Add support for the deprecated ``python_implementation`` marker 
which was
+  an undocumented setuptools marker in addition to the newer markers.
+
+
+16.6 - 2016-03-29
+~
+
+* Add support for the deprecated, PEP 345 environment markers in 
addition to
+  the newer markers.
+
+
 16.5 - 2016-02-26
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-16.5/docs/specifiers.rst 
new/packaging-16.7/docs/specifiers.rst
--- old/packaging-16.5/docs/specifiers.rst  2016-02-26 19:29:04.0 
+0100
+++ new/packaging-16.7/docs/specifiers.rst  2016-03-29 17:15:36.0 
+0200
@@ -48,10 +48,10 @@
 Reference
 -
 
-.. class:: SpeciferSet(specifiers, prereleases=None)
+.. class:: SpecifierSet(specifiers, prereleases=None)
 
 This class abstracts handling specifying the dependencies of a project. It
-can be passed a single specifier (``>=3.0``), a comma seperated list of
+can be passed a single specifier (``>=3.0``), a comma-separated list of
 specifiers (``>=3.0,!=3.1``), or no specifier at all. Each individual
 specifier be attempted to be parsed as a PEP 440 specifier
 (:class:`Specifier`) or as a legacy, setuptools style specifier
@@ -59,11 +59,11 @@
 using the ``&`` operator (``SpecifierSet(">2") & SpecifierSet("<4")``).
 
 Both the membership tes

commit python-packaging for openSUSE:Factory

2016-03-11 Thread h_root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2016-03-11 09:38:22

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new (New)


Package is "python-packaging"

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2015-08-21 07:40:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-packaging.new/python-packaging.changes   
2016-03-11 09:38:27.0 +0100
@@ -1,0 +2,19 @@
+Tue Mar  8 13:59:53 UTC 2016 - tbecht...@suse.com
+
+- update to 16.5:
+  * Fix a regression in parsing requirements with whitespaces between the comma
+separators.
+  * Fix a regression in parsing requirements like ``foo (==4)``.
+  * Fix a bug where ``packaging.requirements:Requirement`` was overly strict 
when
+matching legacy requirements.
+  * Add a function that implements the name canonicalization from PEP 503.
+  * Implement requirement specifiers from PEP 508.
+  * Relicense so that packaging is available under *either* the Apache License,
+Version 2.0 or a 2 Clause BSD license.
+  * Support installation of packaging when only distutils is available.
+  * Fix ``==`` comparison when there is a prefix and a local version in play.
+(:issue:`41`).
+  * Implement environment markers from PEP 508.
+- Adjust Requires according to requires.txt
+
+---

Old:

  packaging-15.3.tar.gz

New:

  packaging-16.5.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.51T7q4/_old  2016-03-11 09:38:28.0 +0100
+++ /var/tmp/diff_new_pack.51T7q4/_new  2016-03-11 09:38:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-packaging
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-packaging
-Version:15.3
+Version:16.5
 Release:0
 Summary:Core utilities for Python packages
 License:Apache-2.0
@@ -26,8 +26,12 @@
 Source: 
https://pypi.python.org/packages/source/p/packaging/packaging-%{version}.tar.gz
 BuildRequires:  python-devel
 BuildRequires:  python-pretend
+BuildRequires:  python-pyparsing
 BuildRequires:  python-pytest
 BuildRequires:  python-setuptools
+BuildRequires:  python-six
+Requires:   python-pyparsing
+Requires:   python-six
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

++ packaging-15.3.tar.gz -> packaging-16.5.tar.gz ++
 2624 lines of diff (skipped)




commit python-packaging for openSUSE:Factory

2015-08-20 Thread h_root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2015-08-21 07:40:18

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new (New)


Package is "python-packaging"

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2015-07-05 18:02:43.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-packaging.new/python-packaging.changes   
2015-08-21 07:40:38.0 +0200
@@ -1,0 +2,6 @@
+Tue Aug 11 07:05:29 UTC 2015 - tbecht...@suse.com
+
+- update to 15.3:
+  * Normalize post-release spellings for rev/r prefixes. :issue:`35`
+
+---

Old:

  packaging-15.2.tar.gz

New:

  packaging-15.3.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.1ikA9p/_old  2015-08-21 07:40:38.0 +0200
+++ /var/tmp/diff_new_pack.1ikA9p/_new  2015-08-21 07:40:38.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   python-packaging
-Version:15.2
+Version:15.3
 Release:0
 Summary:Core utilities for Python packages
 License:Apache-2.0

++ packaging-15.2.tar.gz -> packaging-15.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-15.2/CHANGELOG.rst 
new/packaging-15.3/CHANGELOG.rst
--- old/packaging-15.2/CHANGELOG.rst2015-05-13 23:43:29.0 +0200
+++ new/packaging-15.3/CHANGELOG.rst2015-08-02 02:07:16.0 +0200
@@ -1,6 +1,12 @@
 Changelog
 -
 
+15.3 - 2015-08-01
+~
+
+* Normalize post-release spellings for rev/r prefixes. :issue:`35`
+
+
 15.2 - 2015-05-13
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-15.2/PKG-INFO new/packaging-15.3/PKG-INFO
--- old/packaging-15.2/PKG-INFO 2015-05-13 23:43:34.0 +0200
+++ new/packaging-15.3/PKG-INFO 2015-08-02 02:07:24.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: packaging
-Version: 15.2
+Version: 15.3
 Summary: Core utilities for Python packages
 Home-page: https://github.com/pypa/packaging
 Author: Donald Stufft
@@ -32,6 +32,12 @@
 Changelog
 -
 
+15.3 - 2015-08-01
+~
+
+* Normalize post-release spellings for rev/r prefixes. :issue:`35`
+
+
 15.2 - 2015-05-13
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-15.2/docs/conf.py 
new/packaging-15.3/docs/conf.py
--- old/packaging-15.2/docs/conf.py 2015-05-13 23:43:29.0 +0200
+++ new/packaging-15.3/docs/conf.py 2015-08-02 02:07:16.0 +0200
@@ -35,6 +35,7 @@
 extensions = [
 "sphinx.ext.autodoc",
 "sphinx.ext.doctest",
+"sphinx.ext.extlinks",
 "sphinx.ext.intersphinx",
 "sphinx.ext.viewcode",
 ]
@@ -71,6 +72,10 @@
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = "sphinx"
 
+extlinks = {
+'issue': ('https://github.com/pypa/packaging/issues/%s', '#'),
+'pull': ('https://github.com/pypa/packaging/pull/%s', 'PR #'),
+}
 # -- Options for HTML output --
 
 # The theme to use for HTML and HTML Help pages.  See the documentation for
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-15.2/packaging/__about__.py 
new/packaging-15.3/packaging/__about__.py
--- old/packaging-15.2/packaging/__about__.py   2015-05-13 23:43:29.0 
+0200
+++ new/packaging-15.3/packaging/__about__.py   2015-08-02 02:07:16.0 
+0200
@@ -22,7 +22,7 @@
 __summary__ = "Core utilities for Python packages"
 __uri__ = "https://github.com/pypa/packaging";
 
-__version__ = "15.2"
+__version__ = "15.3"
 
 __author__ = "Donald Stufft"
 __email__ = "don...@stufft.io"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-15.2/packaging/version.py 
new/packaging-15.3/packaging/version.py
--- old/packaging-15.2/packaging/version.py 2015-05-13 23:43:29.0 
+0200
+++ new/packaging-15.3/packaging/version.py 2015-08-02 02:07:16.0 
+0200
@@ -324,6 +324,8 @@
 letter = "b"
 elif letter in ["c", "pre", "preview"]:
 letter = "rc"
+elif letter in ["rev", "r"]:
+letter = "post"
 
 return letter, int(number)
 if not letter and number:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' ol

commit python-packaging for openSUSE:Factory

2015-07-05 Thread h_root
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2015-07-05 18:02:42

Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and  /work/SRC/openSUSE:Factory/.python-packaging.new (New)


Package is "python-packaging"

Changes:

--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes
2015-07-03 00:17:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-packaging.new/python-packaging.changes   
2015-07-05 18:02:43.0 +0200
@@ -1,0 +2,14 @@
+Thu Jun 25 04:01:09 UTC 2015 - tbecht...@suse.com
+
+- update to 15.2:
+  * Fix an error where the arbitary specifier (``===``) was not correctly
+allowing pre-releases when it was being used.
+  * Expose the specifier and version parts through properties on the
+``Specifier`` classes.
+  * Allow iterating over the ``SpecifierSet`` to get access to all of the
+``Specifier`` instances.
+  * Allow testing if a version is contained within a specifier via the ``in``
+operator.
+
+
+---

Old:

  packaging-15.1.tar.gz

New:

  packaging-15.2.tar.gz



Other differences:
--
++ python-packaging.spec ++
--- /var/tmp/diff_new_pack.WRHPqt/_old  2015-07-05 18:02:43.0 +0200
+++ /var/tmp/diff_new_pack.WRHPqt/_new  2015-07-05 18:02:43.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-packaging
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 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
@@ -13,20 +13,21 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
 
 
 Name:   python-packaging
-Version:15.1
+Version:15.2
 Release:0
-License:Apache-2.0
 Summary:Core utilities for Python packages
-Url:https://github.com/pypa/packaging
+License:Apache-2.0
 Group:  Development/Languages/Python
+Url:https://github.com/pypa/packaging
 Source: 
https://pypi.python.org/packages/source/p/packaging/packaging-%{version}.tar.gz
 BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-pytest
 BuildRequires:  python-pretend
+BuildRequires:  python-pytest
+BuildRequires:  python-setuptools
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}

++ packaging-15.1.tar.gz -> packaging-15.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-15.1/CHANGELOG.rst 
new/packaging-15.2/CHANGELOG.rst
--- old/packaging-15.1/CHANGELOG.rst2015-04-15 02:27:02.0 +0200
+++ new/packaging-15.2/CHANGELOG.rst2015-05-13 23:43:29.0 +0200
@@ -1,6 +1,22 @@
 Changelog
 -
 
+15.2 - 2015-05-13
+~
+
+* Fix an error where the arbitary specifier (``===``) was not correctly
+  allowing pre-releases when it was being used.
+
+* Expose the specifier and version parts through properties on the
+  ``Specifier`` classes.
+
+* Allow iterating over the ``SpecifierSet`` to get access to all of the
+  ``Specifier`` instances.
+
+* Allow testing if a version is contained within a specifier via the ``in``
+  operator.
+
+
 15.1 - 2015-04-13
 ~
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/packaging-15.1/PKG-INFO new/packaging-15.2/PKG-INFO
--- old/packaging-15.1/PKG-INFO 2015-04-15 02:27:16.0 +0200
+++ new/packaging-15.2/PKG-INFO 2015-05-13 23:43:34.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: packaging
-Version: 15.1
+Version: 15.2
 Summary: Core utilities for Python packages
 Home-page: https://github.com/pypa/packaging
 Author: Donald Stufft
@@ -32,6 +32,22 @@
 Changelog
 -
 
+15.2 - 2015-05-13
+~
+
+* Fix an error where the arbitary specifier (``===``) was not correctly
+  allowing pre-releases when it was being used.
+
+* Expose the specifier and version parts through properties on the
+  ``Specifier`` classes.
+
+* Allow iterating over the ``SpecifierSet`` to get access to all of the
+  ``Specifier`` instances.
+
+* Allow testing if a version is contained within a specifier