commit python-pathlib2 for openSUSE:Factory

2020-03-26 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2020-03-27 00:22:56

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


Package is "python-pathlib2"

Fri Mar 27 00:22:56 2020 rev:13 rq:784637 version:2.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2020-03-08 22:21:03.595963527 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pathlib2.new.3160/python-pathlib2.changes
2020-03-27 00:22:59.544186748 +0100
@@ -1,0 +2,10 @@
+Fri Mar 13 12:58:35 UTC 2020 - Tomáš Chvátal 
+
+- Fix the py2/py3 dependencies
+
+---
+Fri Mar 13 08:39:36 UTC 2020 - Tomáš Chvátal 
+
+- Fix fdupes call
+
+---



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.XU4uLD/_old  2020-03-27 00:23:01.132187553 +0100
+++ /var/tmp/diff_new_pack.XU4uLD/_new  2020-03-27 00:23:01.252187613 +0100
@@ -26,7 +26,6 @@
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
-%bcond_without python2
 Name:   python-pathlib2%{?psuffix}
 Version:2.3.5
 Release:0
@@ -44,10 +43,7 @@
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module scandir}
 BuildRequires:  %{python_module six}
-BuildRequires:  python3-testsuite
-%if %{with python2}
-BuildRequires:  python-devel
-%endif
+BuildRequires:  %{python_module testsuite}
 %endif
 %ifpython2
 Requires:   python-scandir
@@ -74,7 +70,7 @@
 %install
 %if !%{with test}
 %python_install
-%python_expand fdupes %{buildroot}%{$python_sitelib}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif
 
 %if %{with test}




commit python-pathlib2 for openSUSE:Factory

2020-03-08 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2020-03-08 22:21:03

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


Package is "python-pathlib2"

Sun Mar  8 22:21:03 2020 rev:12 rq:769889 version:2.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2019-10-10 11:51:54.691565475 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pathlib2.new.26092/python-pathlib2.changes   
2020-03-08 22:21:03.595963527 +0100
@@ -1,0 +2,7 @@
+Mon Feb  3 14:59:05 UTC 2020 - Tomáš Chvátal 
+
+- Add multibuild in order to break cycle betwen python3 and mesa
+  * Caused by python3-testsuite that is part of the main python
+- Add devel dependency for the tests on python2 only
+
+---

New:

  _multibuild



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.iSULzi/_old  2020-03-08 22:21:04.159963875 +0100
+++ /var/tmp/diff_new_pack.iSULzi/_new  2020-03-08 22:21:04.167963880 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-pathlib2
+# spec file for package python
 #
-# 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
@@ -16,14 +16,18 @@
 #
 
 
-%if 0%{?suse_version} >= 1500
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
 %bcond_without test
 %else
+%define psuffix %{nil}
 %bcond_withtest
 %endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
-Name:   python-pathlib2
+%bcond_without python2
+Name:   python-pathlib2%{?psuffix}
 Version:2.3.5
 Release:0
 Summary:Object-oriented filesystem paths
@@ -32,23 +36,25 @@
 URL:https://github.com/mcmtroffaes/pathlib2
 Source: 
https://files.pythonhosted.org/packages/source/p/pathlib2/pathlib2-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+Requires:   python-six
+BuildArch:  noarch
 %if %{with test}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module scandir}
 BuildRequires:  %{python_module six}
 BuildRequires:  python3-testsuite
+%if %{with python2}
+BuildRequires:  python-devel
 %endif
-BuildRequires:  python-rpm-macros
-Requires:   python-six
-%if %{python3_version_nodots} < 35
+%endif
+%ifpython2
 Requires:   python-scandir
-%else
-Requires:   python2-scandir
 %endif
-BuildArch:  noarch
 %ifpython2
-Provides:   %oldpython-pathlib2 = %{version}
-Obsoletes:  %oldpython-pathlib2 <= %{version}
+Provides:   %{oldpython}-pathlib2 = %{version}
+Obsoletes:  %{oldpython}-pathlib2 <= %{version}
 %endif
 %python_subpackages
 
@@ -66,19 +72,22 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
+%python_expand fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %if %{with test}
 %check
-# nothing provides test module in python2
-# test module is not available in SLE-12
 export PYTHONPATH="$PWD"
-python3 tests/test_pathlib2.py
+%python_exec tests/test_pathlib2.py
 %endif
 
+%if !%{with test}
 %files %{python_files}
 %license LICENSE.rst
 %doc CHANGELOG.rst README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

++ _multibuild ++

  test




commit python-pathlib2 for openSUSE:Factory

2019-10-10 Thread root
Hello community,

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

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


Package is "python-pathlib2"

Thu Oct 10 11:51:52 2019 rev:11 rq:736050 version:2.3.5

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2019-07-28 10:17:42.300600311 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pathlib2.new.2352/python-pathlib2.changes
2019-10-10 11:51:54.691565475 +0200
@@ -1,0 +2,6 @@
+Tue Oct  8 09:44:20 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.3.5:
+  * Fall back to ascii when getfilesystemencoding returns None (see issue #59).
+
+---

Old:

  pathlib2-2.3.4.tar.gz

New:

  pathlib2-2.3.5.tar.gz



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.DF41ud/_old  2019-10-10 11:51:55.167564212 +0200
+++ /var/tmp/diff_new_pack.DF41ud/_new  2019-10-10 11:51:55.171564202 +0200
@@ -24,7 +24,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:   python-pathlib2
-Version:2.3.4
+Version:2.3.5
 Release:0
 Summary:Object-oriented filesystem paths
 License:MIT

++ pathlib2-2.3.4.tar.gz -> pathlib2-2.3.5.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.4/CHANGELOG.rst 
new/pathlib2-2.3.5/CHANGELOG.rst
--- old/pathlib2-2.3.4/CHANGELOG.rst2019-06-25 11:05:20.0 +0200
+++ new/pathlib2-2.3.5/CHANGELOG.rst2019-09-27 09:09:38.0 +0200
@@ -1,6 +1,12 @@
 History
 ---
 
+Version 2.3.5
+^
+
+- Fall back to ascii when getfilesystemencoding returns None (see
+  issue #59).
+
 Version 2.3.4
 ^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.4/PKG-INFO new/pathlib2-2.3.5/PKG-INFO
--- old/pathlib2-2.3.4/PKG-INFO 2019-06-25 11:06:22.0 +0200
+++ new/pathlib2-2.3.5/PKG-INFO 2019-09-27 09:33:07.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pathlib2
-Version: 2.3.4
+Version: 2.3.5
 Summary: Object-oriented filesystem paths
 Home-page: https://github.com/mcmtroffaes/pathlib2
 Author: Matthias C. M. Troffaes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.4/VERSION new/pathlib2-2.3.5/VERSION
--- old/pathlib2-2.3.4/VERSION  2019-06-25 11:03:12.0 +0200
+++ new/pathlib2-2.3.5/VERSION  2019-09-27 09:11:30.0 +0200
@@ -1 +1 @@
-2.3.4
+2.3.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.4/pathlib2/__init__.py 
new/pathlib2-2.3.5/pathlib2/__init__.py
--- old/pathlib2-2.3.4/pathlib2/__init__.py 2019-06-17 12:46:14.0 
+0200
+++ new/pathlib2-2.3.5/pathlib2/__init__.py 2019-09-27 09:09:38.0 
+0200
@@ -882,7 +882,11 @@
 # also handle unicode for PY2 (six.text_type = unicode)
 elif six.PY2 and isinstance(a, six.text_type):
 # cast to str using filesystem encoding
-parts.append(a.encode(sys.getfilesystemencoding()))
+# note: in rare circumstances, on Python < 3.2,
+# getfilesystemencoding can return None, in that
+# case fall back to ascii
+parts.append(a.encode(
+sys.getfilesystemencoding() or "ascii"))
 else:
 raise TypeError(
 "argument should be a str object or an os.PathLike "
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.4/pathlib2.egg-info/PKG-INFO 
new/pathlib2-2.3.5/pathlib2.egg-info/PKG-INFO
--- old/pathlib2-2.3.4/pathlib2.egg-info/PKG-INFO   2019-06-25 
11:06:22.0 +0200
+++ new/pathlib2-2.3.5/pathlib2.egg-info/PKG-INFO   2019-09-27 
09:33:07.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pathlib2
-Version: 2.3.4
+Version: 2.3.5
 Summary: Object-oriented filesystem paths
 Home-page: https://github.com/mcmtroffaes/pathlib2
 Author: Matthias C. M. Troffaes




commit python-pathlib2 for openSUSE:Factory

2019-07-28 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2019-07-28 10:17:37

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


Package is "python-pathlib2"

Sun Jul 28 10:17:37 2019 rev:10 rq:717895 version:2.3.4

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2019-03-12 09:46:16.887623378 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pathlib2.new.4126/python-pathlib2.changes
2019-07-28 10:17:42.300600311 +0200
@@ -1,0 +2,8 @@
+Tue Jul 23 13:19:03 UTC 2019 - Tomáš Chvátal 
+
+- Update to 2.3.4:
+  * Do not raise windows error when calling resolve on a non-existing path in 
Python 2.7, to match behaviour on Python 3.x (see issue #54).
+  * Use the new collections.abc when possible (see issue #53).
+  * Sync with upstream pathlib (see issues #47 and #51).
+
+---

Old:

  pathlib2-2.3.3.tar.gz

New:

  pathlib2-2.3.4.tar.gz



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.pvGvjp/_old  2019-07-28 10:17:44.692600405 +0200
+++ /var/tmp/diff_new_pack.pvGvjp/_new  2019-07-28 10:17:44.704600405 +0200
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %if 0%{?suse_version} >= 1500
 %bcond_without test
 %else
@@ -23,12 +24,12 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define oldpython python
 Name:   python-pathlib2
-Version:2.3.3
+Version:2.3.4
 Release:0
 Summary:Object-oriented filesystem paths
 License:MIT
 Group:  Development/Languages/Python
-URL:https://pypi.python.org/pypi/pathlib2/
+URL:https://github.com/mcmtroffaes/pathlib2
 Source: 
https://files.pythonhosted.org/packages/source/p/pathlib2/pathlib2-%{version}.tar.gz
 BuildRequires:  %{python_module setuptools}
 %if %{with test}

++ pathlib2-2.3.3.tar.gz -> pathlib2-2.3.4.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.3/CHANGELOG.rst 
new/pathlib2-2.3.4/CHANGELOG.rst
--- old/pathlib2-2.3.3/CHANGELOG.rst2018-11-29 13:47:52.0 +0100
+++ new/pathlib2-2.3.4/CHANGELOG.rst2019-06-25 11:05:20.0 +0200
@@ -1,6 +1,16 @@
 History
 ---
 
+Version 2.3.4
+^
+
+- Do not raise windows error when calling resolve on a non-existing
+  path in Python 2.7, to match behaviour on Python 3.x (see issue #54).
+
+- Use the new collections.abc when possible (see issue #53).
+
+- Sync with upstream pathlib (see issues #47 and #51).
+
 Version 2.3.3
 ^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.3/PKG-INFO new/pathlib2-2.3.4/PKG-INFO
--- old/pathlib2-2.3.3/PKG-INFO 2018-11-29 13:48:26.0 +0100
+++ new/pathlib2-2.3.4/PKG-INFO 2019-06-25 11:06:22.0 +0200
@@ -1,12 +1,11 @@
 Metadata-Version: 1.1
 Name: pathlib2
-Version: 2.3.3
+Version: 2.3.4
 Summary: Object-oriented filesystem paths
-Home-page: https://pypi.python.org/pypi/pathlib2/
+Home-page: https://github.com/mcmtroffaes/pathlib2
 Author: Matthias C. M. Troffaes
 Author-email: matthias.troff...@gmail.com
 License: MIT
-Download-URL: https://pypi.python.org/pypi/pathlib2/
 Description: The `old pathlib `_
 module on bitbucket is in bugfix-only mode.
 The goal of pathlib2 is to provide a backport of
@@ -40,6 +39,20 @@
 `standard pathlib `_
 documentation.
 
+Known Issues
+
+
+For historic reasons, pathlib2 still uses bytes to represent file 
paths internally.
+Unfortunately, on Windows with Python 2.7, the file system encoder 
(``mcbs``)
+has only poor support for non-ascii characters,
+and can silently replace non-ascii characters without warning.
+For example, ``u'тест'.encode(sys.getfilesystemencoding())`` results 
in ````
+which is obviously completely useless.
+
+Therefore, on Windows with Python 2.7, until this problem is fixed 
upstream,
+unfortunately you cannot rely on pathlib2 to support the full unicode 
range for filenames.
+See `issue #56 `_ 
for more details.
+
 .. |travis| image:: 
https://travis-ci.org/mcmtroffaes/pathlib2.png?branch=develop
 :target: https://travis-ci.org/mcmtroffaes/pathlib2
 

commit python-pathlib2 for openSUSE:Factory

2019-03-12 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2019-03-12 09:46:15

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


Package is "python-pathlib2"

Tue Mar 12 09:46:15 2019 rev:9 rq:683717 version:2.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2019-02-08 13:48:42.314773522 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pathlib2.new.28833/python-pathlib2.changes   
2019-03-12 09:46:16.887623378 +0100
@@ -1,0 +2,13 @@
+Mon Mar 11 07:37:06 UTC 2019 - John Vandenberg 
+
+- Add Provides/Obsoletes of python-pathlib2, needed by
+  python2-jupyter_ipython and python2-pytest-django and others
+
+---
+Sat Mar  9 10:24:15 UTC 2019 - John Vandenberg 
+
+- Fix build dependency on python3-scandir, unbreaking Leap 42.3
+  and SLE 12 SP4
+- Add bcond test to deactivate %check properly when necessary
+
+---



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.jrGN1v/_old  2019-03-12 09:46:18.163623123 +0100
+++ /var/tmp/diff_new_pack.jrGN1v/_new  2019-03-12 09:46:18.199623116 +0100
@@ -15,8 +15,13 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
+%if 0%{?suse_version} >= 1500
+%bcond_without test
+%else
+%bcond_withtest
+%endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define oldpython python
 Name:   python-pathlib2
 Version:2.3.3
 Release:0
@@ -25,23 +30,24 @@
 Group:  Development/Languages/Python
 URL:https://pypi.python.org/pypi/pathlib2/
 Source: 
https://files.pythonhosted.org/packages/source/p/pathlib2/pathlib2-%{version}.tar.gz
-BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module setuptools}
+%if %{with test}
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module scandir}
 BuildRequires:  %{python_module six}
-BuildRequires:  python-rpm-macros
-Requires:   python-six
-BuildArch:  noarch
-%if 0%{?suse_version} >= 1500
 BuildRequires:  python3-testsuite
-%else
-Requires:   python-scandir
 %endif
+BuildRequires:  python-rpm-macros
+Requires:   python-six
 %if %{python3_version_nodots} < 35
-BuildRequires:  python3-scandir
+Requires:   python-scandir
+%else
+Requires:   python2-scandir
 %endif
+BuildArch:  noarch
 %ifpython2
-BuildRequires:  python2-scandir
-Requires:   python2-scandir
+Provides:   %oldpython-pathlib2 = %{version}
+Obsoletes:  %oldpython-pathlib2 <= %{version}
 %endif
 %python_subpackages
 
@@ -61,11 +67,11 @@
 %install
 %python_install
 
+%if %{with test}
 %check
 # nothing provides test module in python2
 # test module is not available in SLE-12
 export PYTHONPATH="$PWD"
-%if 0%{?suse_version} >= 1500
 python3 tests/test_pathlib2.py
 %endif
 




commit python-pathlib2 for openSUSE:Factory

2019-02-08 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2019-02-08 13:48:38

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


Package is "python-pathlib2"

Fri Feb  8 13:48:38 2019 rev:8 rq:672134 version:2.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2019-01-08 12:16:48.241019941 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pathlib2.new.28833/python-pathlib2.changes   
2019-02-08 13:48:42.314773522 +0100
@@ -1,0 +2,5 @@
+Mon Feb  4 22:24:31 UTC 2019 - Hans-Peter Jansen 
+
+- depend on python3-scandir for python3 < 3.5 only
+
+---



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.6OPIFh/_old  2019-02-08 13:48:43.026773299 +0100
+++ /var/tmp/diff_new_pack.6OPIFh/_new  2019-02-08 13:48:43.026773299 +0100
@@ -34,9 +34,11 @@
 %if 0%{?suse_version} >= 1500
 BuildRequires:  python3-testsuite
 %else
-BuildRequires:  python3-scandir
 Requires:   python-scandir
 %endif
+%if %{python3_version_nodots} < 35
+BuildRequires:  python3-scandir
+%endif
 %ifpython2
 BuildRequires:  python2-scandir
 Requires:   python2-scandir




commit python-pathlib2 for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2019-01-08 12:16:48

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


Package is "python-pathlib2"

Tue Jan  8 12:16:48 2019 rev:7 rq:662391 version:2.3.3

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2018-11-14 14:41:14.582835149 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pathlib2.new.28833/python-pathlib2.changes   
2019-01-08 12:16:48.241019941 +0100
@@ -1,0 +2,16 @@
+Wed Jan  2 09:20:35 UTC 2019 - Tomáš Chvátal 
+
+- Always pull in python2-scandir as there is no core functionality
+
+---
+Fri Dec 28 13:08:53 UTC 2018 - Martin Pluskal 
+
+- Update to version 2.3.3:
+  * Bring back old deprecated dependency syntax to ensure
+compatibility with older systems (see issue #46).
+  * Drop Python 3.3 support, as scandir no longer supports it.
+  * Add Python 3.7 support.
+- Update conditionals for tests and dependencies to work on older
+  SLE/openSUSE releases as well
+
+---

Old:

  pathlib2-2.3.2.tar.gz

New:

  pathlib2-2.3.3.tar.gz



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.aDwCDg/_old  2019-01-08 12:16:48.669019539 +0100
+++ /var/tmp/diff_new_pack.aDwCDg/_new  2019-01-08 12:16:48.673019535 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pathlib2
 #
-# 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
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pathlib2
-Version:2.3.2
+Version:2.3.3
 Release:0
 Summary:Object-oriented filesystem paths
 License:MIT
@@ -29,12 +29,13 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-testsuite
 Requires:   python-six
 BuildArch:  noarch
-%if %{python3_version_nodots} < 35
+%if 0%{?suse_version} >= 1500
+BuildRequires:  python3-testsuite
+%else
 BuildRequires:  python3-scandir
-Requires:   python3-scandir
+Requires:   python-scandir
 %endif
 %ifpython2
 BuildRequires:  python2-scandir
@@ -60,8 +61,11 @@
 
 %check
 # nothing provides test module in python2
+# test module is not available in SLE-12
 export PYTHONPATH="$PWD"
+%if 0%{?suse_version} >= 1500
 python3 tests/test_pathlib2.py
+%endif
 
 %files %{python_files}
 %license LICENSE.rst

++ pathlib2-2.3.2.tar.gz -> pathlib2-2.3.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.2/CHANGELOG.rst 
new/pathlib2-2.3.3/CHANGELOG.rst
--- old/pathlib2-2.3.2/CHANGELOG.rst2018-04-19 11:54:37.0 +0200
+++ new/pathlib2-2.3.3/CHANGELOG.rst2018-11-29 13:47:52.0 +0100
@@ -1,6 +1,16 @@
 History
 ---
 
+Version 2.3.3
+^
+
+- Bring back old deprecated dependency syntax to ensure compatibility
+  with older systems (see issue #46).
+
+- Drop Python 3.3 support, as scandir no longer supports it.
+
+- Add Python 3.7 support.
+
 Version 2.3.2
 ^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.3.2/PKG-INFO new/pathlib2-2.3.3/PKG-INFO
--- old/pathlib2-2.3.2/PKG-INFO 2018-04-19 11:58:55.0 +0200
+++ new/pathlib2-2.3.3/PKG-INFO 2018-11-29 13:48:26.0 +0100
@@ -1,13 +1,12 @@
 Metadata-Version: 1.1
 Name: pathlib2
-Version: 2.3.2
+Version: 2.3.3
 Summary: Object-oriented filesystem paths
 Home-page: https://pypi.python.org/pypi/pathlib2/
 Author: Matthias C. M. Troffaes
 Author-email: matthias.troff...@gmail.com
 License: MIT
 Download-URL: https://pypi.python.org/pypi/pathlib2/
-Description-Content-Type: UNKNOWN
 Description: The `old pathlib `_
 module on bitbucket is in bugfix-only mode.
 The goal of pathlib2 is to provide a backport of
@@ -64,9 +63,9 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 2.6
 Classifier: Programming Language :: Python :: 2.7
-Classifier: Programming Language :: Python :: 3.3
 Classifier: Programming Language :: Python :: 3.4
 Classifier: Programming Language :: Python :: 3.5
 Classifier: Programming Language :: Python :: 3.6

commit python-pathlib2 for openSUSE:Factory

2018-08-08 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2018-08-08 14:45:42

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


Package is "python-pathlib2"

Wed Aug  8 14:45:42 2018 rev:5 rq:627896 version:2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2018-06-02 12:09:36.265588004 +0200
+++ /work/SRC/openSUSE:Factory/.python-pathlib2.new/python-pathlib2.changes 
2018-08-08 14:45:46.316789646 +0200
@@ -1,0 +2,5 @@
+Tue Aug  7 14:38:54 UTC 2018 - mimi...@gmail.com
+
+- cleanup deps 
+
+---



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.O2PERQ/_old  2018-08-08 14:45:47.144790996 +0200
+++ /var/tmp/diff_new_pack.O2PERQ/_new  2018-08-08 14:45:47.152791008 +0200
@@ -26,7 +26,6 @@
 URL:https://pypi.python.org/pypi/pathlib2/
 Source: 
https://files.pythonhosted.org/packages/source/p/pathlib2/pathlib2-%{version}.tar.gz
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  python-rpm-macros
@@ -61,7 +60,9 @@
 %python_install
 
 %check
-PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} .
+# nothing provides test module in python2
+export PYTHONPATH="$PWD"
+python3 tests/test_pathlib2.py
 
 %files %{python_files}
 %license LICENSE.rst




commit python-pathlib2 for openSUSE:Factory

2018-06-02 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2018-06-02 12:09:24

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


Package is "python-pathlib2"

Sat Jun  2 12:09:24 2018 rev:4 rq:613053 version:2.3.2

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2018-05-23 16:09:44.124589895 +0200
+++ /work/SRC/openSUSE:Factory/.python-pathlib2.new/python-pathlib2.changes 
2018-06-02 12:09:36.265588004 +0200
@@ -1,0 +2,7 @@
+Wed May 30 10:44:01 UTC 2018 - mimi...@gmail.com
+
+- update to 2.3.2
+- drop pathlib2-2.3.0-fix-tests.patch
+- fix requires and drop coverage report
+
+---

Old:

  pathlib2-2.3.0-fix-tests.patch
  pathlib2-2.3.0.tar.gz

New:

  pathlib2-2.3.2.tar.gz



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.2q4lFp/_old  2018-06-02 12:09:36.997561158 +0200
+++ /var/tmp/diff_new_pack.2q4lFp/_new  2018-06-02 12:09:37.001561011 +0200
@@ -18,37 +18,39 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pathlib2
-Version:2.3.0
+Version:2.3.2
 Release:0
 Summary:Object-oriented filesystem paths
 License:MIT
 Group:  Development/Languages/Python
 URL:https://pypi.python.org/pypi/pathlib2/
 Source: 
https://files.pythonhosted.org/packages/source/p/pathlib2/pathlib2-%{version}.tar.gz
-Patch0: pathlib2-2.3.0-fix-tests.patch
 BuildRequires:  %{python_module mock}
-BuildRequires:  %{python_module pytest-cov}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module scandir}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six}
 BuildRequires:  python-rpm-macros
 BuildRequires:  python3-testsuite
-Requires:   python-scandir
 Requires:   python-six
 BuildArch:  noarch
+%if %{?python3_version_nodots} <= 35 
+BuildRequires:  %{python_module scandir}
+Requires:   python-scandir
+%endif
+%ifpython2
+BuildRequires:  %{python_module scandir}
+Requires:   python-scandir
+%endif
+
 %python_subpackages
 
 %description
-The `old pathlib `_
-module on bitbucket is in bugfix-only mode.
 The goal of pathlib2 is to provide a backport of
 `standard pathlib `_
 module which tracks the standard library module,
 so all the newest features of the standard pathlib can be
 used also on older Python versions.
 
-
 %prep
 %autosetup -n pathlib2-%{version}
 
@@ -59,7 +61,7 @@
 %python_install
 
 %check
-PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%python3_version . 
--cov=pathlib2
+PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} .
 
 %files %{python_files}
 %license LICENSE.rst

++ pathlib2-2.3.0.tar.gz -> pathlib2-2.3.2.tar.gz ++
 8373 lines of diff (skipped)




commit python-pathlib2 for openSUSE:Factory

2018-05-23 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2018-05-23 16:09:21

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


Package is "python-pathlib2"

Wed May 23 16:09:21 2018 rev:3 rq:611340 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2018-01-09 14:56:33.298346555 +0100
+++ /work/SRC/openSUSE:Factory/.python-pathlib2.new/python-pathlib2.changes 
2018-05-23 16:09:44.124589895 +0200
@@ -1,0 +2,6 @@
+Tue May 22 13:31:30 UTC 2018 - mc...@suse.com
+
+- Clean up SPEC
+- Switch on tests (add patch pathlib2-2.3.0-fix-tests.patch)
+
+---
@@ -7,0 +14,5 @@
+Thu Aug 24 13:49:05 UTC 2017 - jmate...@suse.com
+
+- singlespec auto-conversion
+
+---
@@ -10,0 +22 @@
+

New:

  pathlib2-2.3.0-fix-tests.patch



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.bL3nfw/_old  2018-05-23 16:09:45.404543021 +0200
+++ /var/tmp/diff_new_pack.bL3nfw/_new  2018-05-23 16:09:45.408542875 +0200
@@ -16,23 +16,28 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-pathlib2
 Version:2.3.0
 Release:0
 Summary:Object-oriented filesystem paths
 License:MIT
 Group:  Development/Languages/Python
-Url:https://pypi.python.org/pypi/pathlib2/
+URL:https://pypi.python.org/pypi/pathlib2/
 Source: 
https://files.pythonhosted.org/packages/source/p/pathlib2/pathlib2-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-scandir
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
+Patch0: pathlib2-2.3.0-fix-tests.patch
+BuildRequires:  %{python_module mock}
+BuildRequires:  %{python_module pytest-cov}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module scandir}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  python-rpm-macros
+BuildRequires:  python3-testsuite
 Requires:   python-scandir
 Requires:   python-six
-Provides:   python2-pathlib2 = %{version}
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
+%python_subpackages
 
 %description
 The `old pathlib `_
@@ -43,18 +48,22 @@
 so all the newest features of the standard pathlib can be
 used also on older Python versions.
 
+
 %prep
-%setup -q -n pathlib2-%{version}
+%autosetup -n pathlib2-%{version}
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+
+%check
+PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%python3_version . 
--cov=pathlib2
 
-%files
-%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE.rst README.rst
+%files %{python_files}
+%license LICENSE.rst
+%doc CHANGELOG.rst README.rst
 %{python_sitelib}/*
 
 %changelog

++ pathlib2-2.3.0-fix-tests.patch ++
--- a/test_pathlib2.py
+++ b/test_pathlib2.py
@@ -44,10 +44,7 @@ try:
 except ImportError:
 from test import test_support as support
 
-if sys.version_info >= (3, 6):
-android_not_root = support.android_not_root
-else:
-android_not_root = False
+android_not_root = False
 
 TESTFN = support.TESTFN
 



commit python-pathlib2 for openSUSE:Factory

2018-01-09 Thread root
Hello community,

here is the log from the commit of package python-pathlib2 for openSUSE:Factory 
checked in at 2018-01-09 14:56:32

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


Package is "python-pathlib2"

Tue Jan  9 14:56:32 2018 rev:2 rq:562842 version:2.3.0

Changes:

--- /work/SRC/openSUSE:Factory/python-pathlib2/python-pathlib2.changes  
2017-04-14 13:34:47.540225891 +0200
+++ /work/SRC/openSUSE:Factory/.python-pathlib2.new/python-pathlib2.changes 
2018-01-09 14:56:33.298346555 +0100
@@ -1,0 +2,6 @@
+Fri Jan  5 10:07:12 UTC 2018 - alarr...@suse.com
+
+- Update to version 2.3.0
+  * Sync with upstream pathlib from CPython 3.6.1
+
+---

Old:

  pathlib2-2.2.1.tar.gz

New:

  pathlib2-2.3.0.tar.gz



Other differences:
--
++ python-pathlib2.spec ++
--- /var/tmp/diff_new_pack.D7TVSn/_old  2018-01-09 14:56:34.298299682 +0100
+++ /var/tmp/diff_new_pack.D7TVSn/_new  2018-01-09 14:56:34.302299493 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pathlib2
 #
-# 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
@@ -17,7 +17,7 @@
 
 
 Name:   python-pathlib2
-Version:2.2.1
+Version:2.3.0
 Release:0
 Summary:Object-oriented filesystem paths
 License:MIT

++ pathlib2-2.2.1.tar.gz -> pathlib2-2.3.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.2.1/CHANGELOG.rst 
new/pathlib2-2.3.0/CHANGELOG.rst
--- old/pathlib2-2.2.1/CHANGELOG.rst2017-01-19 13:35:15.0 +0100
+++ new/pathlib2-2.3.0/CHANGELOG.rst2017-06-12 16:29:19.0 +0200
@@ -1,6 +1,11 @@
 History
 ---
 
+Version 2.3.0
+^
+
+- Sync with upstream pathlib from CPython 3.6.1 (7d1017d).
+
 Version 2.2.1
 ^
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.2.1/PKG-INFO new/pathlib2-2.3.0/PKG-INFO
--- old/pathlib2-2.2.1/PKG-INFO 2017-01-19 13:36:01.0 +0100
+++ new/pathlib2-2.3.0/PKG-INFO 2017-06-12 16:31:38.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pathlib2
-Version: 2.2.1
+Version: 2.3.0
 Summary: Object-oriented filesystem paths
 Home-page: https://pypi.python.org/pypi/pathlib2/
 Author: Matthias C. M. Troffaes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.2.1/VERSION new/pathlib2-2.3.0/VERSION
--- old/pathlib2-2.2.1/VERSION  2017-01-19 13:35:15.0 +0100
+++ new/pathlib2-2.3.0/VERSION  2017-06-12 16:29:33.0 +0200
@@ -1 +1 @@
-2.2.1
+2.3.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.2.1/pathlib2.egg-info/PKG-INFO 
new/pathlib2-2.3.0/pathlib2.egg-info/PKG-INFO
--- old/pathlib2-2.2.1/pathlib2.egg-info/PKG-INFO   2017-01-19 
13:36:01.0 +0100
+++ new/pathlib2-2.3.0/pathlib2.egg-info/PKG-INFO   2017-06-12 
16:31:37.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pathlib2
-Version: 2.2.1
+Version: 2.3.0
 Summary: Object-oriented filesystem paths
 Home-page: https://pypi.python.org/pypi/pathlib2/
 Author: Matthias C. M. Troffaes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pathlib2-2.2.1/pathlib2.py 
new/pathlib2-2.3.0/pathlib2.py
--- old/pathlib2-2.2.1/pathlib2.py  2017-01-09 16:21:33.0 +0100
+++ new/pathlib2-2.3.0/pathlib2.py  2017-06-12 16:29:15.0 +0200
@@ -29,16 +29,15 @@
 intern = sys.intern
 
 supports_symlinks = True
-try:
+if os.name == 'nt':
 import nt
-except ImportError:
-nt = None
-else:
 if sys.getwindowsversion()[:2] >= (6, 0) and sys.version_info >= (3, 2):
 from nt import _getfinalpathname
 else:
 supports_symlinks = False
 _getfinalpathname = None
+else:
+nt = None
 
 try:
 from os import scandir as os_scandir
@@ -62,12 +61,15 @@
 else part for part in parts]
 
 
-def _try_except_fileexistserror(try_func, except_func):
+def _try_except_fileexistserror(try_func, except_func, else_func=None):
 if sys.version_info >= (3, 3):
 try:
 try_func()
 except FileExistsError as exc:
 except_func(exc)
+else:
+if else_func is not None:
+else_func()
 else:
 try:
 try_func()
@@ -76,6 +78,25 @@