Hello community,
here is the log from the commit of package python-pyfakefs for openSUSE:Factory
checked in at 2020-03-08 22:22:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyfakefs (Old)
and /work/SRC/openSUSE:Factory/.python-pyfakefs.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyfakefs"
Sun Mar 8 22:22:58 2020 rev:11 rq:782610 version:3.7.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyfakefs/python-pyfakefs.changes
2019-12-11 12:15:17.628508683 +0100
+++
/work/SRC/openSUSE:Factory/.python-pyfakefs.new.26092/python-pyfakefs.changes
2020-03-08 22:23:04.784038304 +0100
@@ -1,0 +2,11 @@
+Sun Mar 8 03:36:36 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Swith to multibuild in order to avoid full python buildcycle
+
+-------------------------------------------------------------------
+Sat Mar 7 13:52:47 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 3.7.2:
+ * Various fixes for python 3.8
+
+-------------------------------------------------------------------
Old:
----
python-pyfakefs-3.6.1.tar.gz
New:
----
_multibuild
python-pyfakefs-3.7.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pyfakefs.spec ++++++
--- /var/tmp/diff_new_pack.IrkJT3/_old 2020-03-08 22:23:05.280038611 +0100
+++ /var/tmp/diff_new_pack.IrkJT3/_new 2020-03-08 22:23:05.284038613 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pyfakefs
#
-# Copyright (c) 2019 SUSE LLC
+# 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
@@ -17,23 +17,33 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-pyfakefs
-Version: 3.6.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-pyfakefs%{psuffix}
+Version: 3.7.2
Release: 0
Summary: Fake file system that mocks the Python file system modules
License: Apache-2.0
URL: https://github.com/jmcgeheeiv/pyfakefs
-Source:
https://github.com/jmcgeheeiv/pyfakefs/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires: %{python_module pathlib2 >= 2.3.2}
-BuildRequires: %{python_module pytest >= 2.8.6}
+Source:
https://github.com/jmcgeheeiv/pyfakefs/archive/v%{version}.tar.gz#/python-pyfakefs-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
-BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python2-scandir >= 1.8
Requires: python
Requires: python-pathlib2 >= 2.3.2
BuildArch: noarch
+%if %{with test}
+BuildRequires: %{python_module pathlib2 >= 2.3.2}
+BuildRequires: %{python_module pytest >= 2.8.6}
+BuildRequires: %{pythons}
+BuildRequires: python2-scandir >= 1.8
+%endif
%ifpython2
Requires: python-scandir >= 1.8
%endif
@@ -52,17 +62,23 @@
%python_build
%install
+%if !%{with test}
%python_install
+%python_expand rm -r %{buildroot}%{$python_sitelib}/pyfakefs/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%python_expand rm -rf %{buildroot}%{$python_sitelib}/pyfakefs/tests/
+%endif
%check
+%if %{with test}
export LANG=C.UTF-8
-%python_exec setup.py test
+%python_expand PYTHONPATH=$(pwd) $python -m pyfakefs.tests.all_tests
+%endif
+%if !%{with test}
%files %{python_files}
%doc CHANGES* README*
%license COPYING*
%{python_sitelib}/*
+%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>
++++++ python-pyfakefs-3.6.1.tar.gz -> python-pyfakefs-3.7.2.tar.gz ++++++
++++ 4370 lines of diff (skipped)