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 <[email protected]> + +- Add missing python2 dependency on backports.os + +------------------------------------------------------------------- +Tue Feb 26 08:25:06 UTC 2019 - Tomáš Chvátal <[email protected]> + +- 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 ++++++ <multibuild> <package>test</package> </multibuild> ++++++ path.py-10.3.1.tar.gz -> path.py-11.5.0.tar.gz ++++++ ++++ 2538 lines of diff (skipped)
