commit python-path.py for openSUSE:Factory

2019-11-04 Thread root
Hello community,

here is the log from the commit of package python-path.py for openSUSE:Factory 
checked in at 2019-11-04 17:07:55

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


Package is "python-path.py"

Mon Nov  4 17:07:55 2019 rev:5 rq:741436 version:12.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-path.py/python-path.py.changes
2019-07-30 13:06:35.566369095 +0200
+++ /work/SRC/openSUSE:Factory/.python-path.py.new.2990/python-path.py.changes  
2019-11-04 17:08:00.812364145 +0100
@@ -1,0 +2,6 @@
+Mon Oct 21 08:18:00 UTC 2019 - Tomáš Chvátal 
+
+- Add patch to build with pytest5:
+  * pytest5.patch
+
+---

New:

  pytest5.patch



Other differences:
--
++ python-path.py.spec ++
--- /var/tmp/diff_new_pack.YzH4XI/_old  2019-11-04 17:08:01.688365081 +0100
+++ /var/tmp/diff_new_pack.YzH4XI/_new  2019-11-04 17:08:01.692365085 +0100
@@ -25,17 +25,15 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
-
 %define skip_python2 1
-
 Name:   python-path.py%{psuffix}
 Version:12.0.1
 Release:0
 Summary:A module wrapper for os.path
 License:MIT
-Group:  Development/Languages/Python
 URL:https://github.com/jaraco/path.py
 Source: 
https://files.pythonhosted.org/packages/source/p/path.py/path.py-%{version}.tar.gz
+Patch0: pytest5.patch
 BuildRequires:  %{python_module setuptools_scm >= 1.15.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -45,8 +43,7 @@
 %if %{with test}
 BuildRequires:  %{python_module importlib-metadata >= 0.5}
 BuildRequires:  %{python_module path.py >= %{version}}
-# https://github.com/jaraco/path.py/issues/167
-BuildRequires:  %{python_module pytest < 5.0}
+BuildRequires:  %{python_module pytest}
 %endif
 %python_subpackages
 
@@ -57,6 +54,7 @@
 
 %prep
 %setup -q -n path.py-%{version}
+%patch0 -p1
 rm -rf path.py.egg-info
 # no need to pull in flake
 rm -f pytest.ini

++ pytest5.patch ++
>From 02eb16f0eb2cdc0015972ce963357aaa1cd0b84b Mon Sep 17 00:00:00 2001
From: "Jason R. Coombs" 
Date: Sat, 20 Jul 2019 12:57:18 -0400
Subject: [PATCH] Correct usage of exception resolution from exception info
 context. Fixes #167.

---
 test_path.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test_path.py b/test_path.py
index f2640c1..8ef2bd6 100644
--- a/test_path.py
+++ b/test_path.py
@@ -1097,7 +1097,7 @@ def test_exception_in_context(self, tmpdir):
 with doc.in_place() as (reader, writer):
 writer.write(self.alternate_content)
 raise RuntimeError("some error")
-assert "some error" in str(exc)
+assert "some error" in str(exc.value)
 with doc.open() as stream:
 data = stream.read()
 assert 'Lorem' not in data



commit python-path.py for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-path.py for openSUSE:Factory 
checked in at 2019-07-30 13:06:34

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


Package is "python-path.py"

Tue Jul 30 13:06:34 2019 rev:4 rq:718923 version:12.0.1

Changes:

--- /work/SRC/openSUSE:Factory/python-path.py/python-path.py.changes
2019-02-26 22:16:13.234194608 +0100
+++ /work/SRC/openSUSE:Factory/.python-path.py.new.4126/python-path.py.changes  
2019-07-30 13:06:35.566369095 +0200
@@ -1,0 +2,19 @@
+Fri Jul 26 16:56:38 CEST 2019 - Matej Cepl 
+
+- Update to 12.0.1:
+  - #166: Removed 'universal' wheel support.
+  - #148: Dropped support for Python 2.7 and 3.4.
+Moved 'path' into a package.
+
+---
+Fri Jul 19 10:05:17 UTC 2019 - Tomáš Chvátal 
+
+- Update to 11.5.2:
+  * #163: Corrected 'pymodules' typo in package declaration.
+
+---
+Fri Jul 19 10:04:28 UTC 2019 - Tomáš Chvátal 
+
+- Restrict version requirement on pytest to <5.x for now
+
+---

Old:

  path.py-11.5.0.tar.gz

New:

  path.py-12.0.1.tar.gz



Other differences:
--
++ python-path.py.spec ++
--- /var/tmp/diff_new_pack.UaxzLo/_old  2019-07-30 13:06:36.022368978 +0200
+++ /var/tmp/diff_new_pack.UaxzLo/_new  2019-07-30 13:06:36.022368978 +0200
@@ -25,8 +25,11 @@
 %define psuffix %{nil}
 %bcond_with test
 %endif
+
+%define skip_python2 1
+
 Name:   python-path.py%{psuffix}
-Version:11.5.0
+Version:12.0.1
 Release:0
 Summary:A module wrapper for os.path
 License:MIT
@@ -39,14 +42,11 @@
 BuildRequires:  python-rpm-macros
 Requires:   python-importlib-metadata >= 0.5
 BuildArch:  noarch
-%ifpython2
-Requires:   python2-backports.os
-%endif
 %if %{with test}
 BuildRequires:  %{python_module importlib-metadata >= 0.5}
 BuildRequires:  %{python_module path.py >= %{version}}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  python2-backports.os
+# https://github.com/jaraco/path.py/issues/167
+BuildRequires:  %{python_module pytest < 5.0}
 %endif
 %python_subpackages
 
@@ -75,7 +75,7 @@
 # need to set locale to avoid UnicodeEncodeError
 export LANG=en_US.UTF-8
 # test_import_time -> relies on timing that varies in OBS
-%python_expand py.test-%{$python_bin_suffix} test_path.py -k 'not 
test_import_time'
+%pytest test_path.py -k 'not test_import_time'
 %endif
 
 %if !%{with test}

++ path.py-11.5.0.tar.gz -> path.py-12.0.1.tar.gz ++
 4268 lines of diff (skipped)




commit python-path.py for openSUSE:Factory

2019-02-26 Thread root
Hello community,

here is the log from the commit of package python-path.py for openSUSE:Factory 
checked in at 2019-02-26 22:16:10

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


Package is "python-path.py"

Tue Feb 26 22:16:10 2019 rev:3 rq:679217 version:11.5.0

Changes:

--- /work/SRC/openSUSE:Factory/python-path.py/python-path.py.changes
2017-07-11 08:25:13.940635533 +0200
+++ /work/SRC/openSUSE:Factory/.python-path.py.new.28833/python-path.py.changes 
2019-02-26 22:16:13.234194608 +0100
@@ -1,0 +2,12 @@
+Tue Feb 26 10:47:11 UTC 2019 - Tomáš Chvátal 
+
+- Add missing python2 dependency on backports.os
+
+---
+Tue Feb 26 08:25:06 UTC 2019 - Tomáš Chvátal 
+
+- Update to 11.5.0:
+  * Many fixes all around for detailed list see CHANGES.rst
+- Use multibuild to avoid buildcycles
+
+---

Old:

  path.py-10.3.1.tar.gz

New:

  _multibuild
  path.py-11.5.0.tar.gz



Other differences:
--
++ python-path.py.spec ++
--- /var/tmp/diff_new_pack.SmBIuZ/_old  2019-02-26 22:16:15.958193684 +0100
+++ /var/tmp/diff_new_pack.SmBIuZ/_new  2019-02-26 22:16:15.958193684 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-path.py
 #
-# Copyright (c) 2017 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
@@ -12,27 +12,42 @@
 # 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/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name:   python-path.py
-Version:10.3.1
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:   python-path.py%{psuffix}
+Version:11.5.0
 Release:0
 Summary:A module wrapper for os.path
 License:MIT
 Group:  Development/Languages/Python
-Url:https://github.com/jaraco/path.py
+URL:https://github.com/jaraco/path.py
 Source: 
https://files.pythonhosted.org/packages/source/p/path.py/path.py-%{version}.tar.gz
-BuildRequires:  %{python_module base}
-BuildRequires:  %{python_module pytest-runner >= 2.6}
-BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools_scm >= 1.15.0}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Requires:   python-importlib-metadata >= 0.5
 BuildArch:  noarch
+%ifpython2
+Requires:   python2-backports.os
+%endif
+%if %{with test}
+BuildRequires:  %{python_module importlib-metadata >= 0.5}
+BuildRequires:  %{python_module path.py >= %{version}}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  python2-backports.os
+%endif
 %python_subpackages
 
 %description
@@ -43,21 +58,31 @@
 %prep
 %setup -q -n path.py-%{version}
 rm -rf path.py.egg-info
+# no need to pull in flake
+rm -f pytest.ini
 
 %build
 %python_build
 
 %install
+%if !%{with test}
 %python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
 %check
+%if %{with test}
 # need to set locale to avoid UnicodeEncodeError
 export LANG=en_US.UTF-8
-%python_exec %{_bindir}/py.test build/lib
+# test_import_time -> relies on timing that varies in OBS
+%python_expand py.test-%{$python_bin_suffix} test_path.py -k 'not 
test_import_time'
+%endif
 
+%if !%{with test}
 %files %{python_files}
-%defattr(-,root,root,-)
+%license LICENSE
 %doc CHANGES.rst README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

++ _multibuild ++

  test

++ path.py-10.3.1.tar.gz -> path.py-11.5.0.tar.gz ++
 2538 lines of diff (skipped)




commit python-path.py for openSUSE:Factory

2017-07-11 Thread root
Hello community,

here is the log from the commit of package python-path.py for openSUSE:Factory 
checked in at 2017-07-11 08:25:13

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


Package is "python-path.py"

Tue Jul 11 08:25:13 2017 rev:2 rq:508338 version:10.3.1

Changes:

--- /work/SRC/openSUSE:Factory/python-path.py/python-path.py.changes
2015-09-30 05:50:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-path.py.new/python-path.py.changes   
2017-07-11 08:25:13.940635533 +0200
@@ -1,0 +2,54 @@
+Tue Jul  4 09:45:39 UTC 2017 - aloi...@gmx.com
+
+- Update to version 10.3.1
+  * #124: Fixed ``rmdir_p`` raising ``FileNotFoundError`` when
+directory does not exist on Windows.
+  10.3:
+  * #115: Added a new performance-optimized implementation
+for listdir operations, optimizing ``listdir``, ``walk``,
+``walkfiles``, ``walkdirs``, and ``fnmatch``, presented
+as the ``FastPath`` class.
+Please direct feedback on this implementation to the ticket,
+especially if the performance benefits justify it replacing
+the default ``Path`` class.
+  10.2:
+  * Symlink no longer requires the ``newlink`` parameter
+and will default to the basename of the target in the
+current working directory.
+  10.1:
+  * #123: Implement ``Path.__fspath__`` per PEP 519.
+  10.0:
+  * Once again as in 8.0 remove deprecated ``path.path``.
+  9.1:
+  * #121: Removed workaround for #61 added in 5.2. ``path.py``
+now only supports file system paths that can be effectively
+decoded to text. It is the responsibility of the system
+implementer to ensure that filenames on the system are
+decodeable by ``sys.getfilesystemencoding()``.
+  9.0:
+  * Drop support for Python 2.6 and 3.2 as integration
+dependencies (pip) no longer support these versions.
+  8.3:
+  * Merge with latest skeleton, adding badges and test runs by
+default under tox instead of pytest-runner.
+  * Documentation is no longer hosted with PyPI.
+  8.2.1:
+  * #112: Update Travis CI usage to only deploy on Python 3.5.
+  8.2:
+  * Refreshed project metadata based on `jaraco's project
+skeleton _.
+  * Releases are now automatically published via Travis-CI.
+  * #111: More aggressively trap errors when importing
+``pkg_resources``.
+  8.1.2:
+  * #105: By using unicode literals, avoid errors rendering the
+backslash in __get_owner_windows.
+
+- Converted to single-spec
+
+---
+Tue Jul  4 09:40:55 UTC 2017 - aloi...@gmx.com
+
+- Update to version 10.3.1 (see CHANGES.rst)
+
+---

Old:

  path.py-8.1.1.tar.gz

New:

  path.py-10.3.1.tar.gz



Other differences:
--
++ python-path.py.spec ++
--- /var/tmp/diff_new_pack.YYAPLj/_old  2017-07-11 08:25:14.496557124 +0200
+++ /var/tmp/diff_new_pack.YYAPLj/_new  2017-07-11 08:25:14.500556560 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-path.py
 #
-# Copyright (c) 2015 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,28 +16,24 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-path.py
-Version:8.1.1
+Version:10.3.1
 Release:0
 Summary:A module wrapper for os.path
 License:MIT
 Group:  Development/Languages/Python
-Url:http://github.com/jaraco/path.py
-Source: 
http://pypi.python.org/packages/source/p/path.py/path.py-%{version}.tar.gz
-BuildRequires:  python-devel
-BuildRequires:  python-pytest
-BuildRequires:  python-pytest-runner >= 2.6
-BuildRequires:  python-setuptools
-BuildRequires:  python-setuptools_scm
-BuildRequires:  python-appdirs
-Requires:   python-appdirs
+Url:https://github.com/jaraco/path.py
+Source: 
https://files.pythonhosted.org/packages/source/p/path.py/path.py-%{version}.tar.gz
+BuildRequires:  %{python_module base}
+BuildRequires:  %{python_module pytest-runner >= 2.6}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools_scm}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  python-rpm-macros
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-BuildRequires:  python-importlib
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import