Hello community,

here is the log from the commit of package python-vcrpy for openSUSE:Factory 
checked in at 2020-02-25 16:03:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-vcrpy (Old)
 and      /work/SRC/openSUSE:Factory/.python-vcrpy.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-vcrpy"

Tue Feb 25 16:03:49 2020 rev:8 rq:778779 version:4.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vcrpy/python-vcrpy.changes        
2020-02-09 20:49:13.122902472 +0100
+++ /work/SRC/openSUSE:Factory/.python-vcrpy.new.26092/python-vcrpy.changes     
2020-02-25 16:04:31.212328732 +0100
@@ -1,0 +2,7 @@
+Mon Feb 24 09:14:21 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Added patch 0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch
+  * Enable python2 again since it breaks many packages
+- Fix locale on Leap
+
+-------------------------------------------------------------------

New:
----
  0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-vcrpy.spec ++++++
--- /var/tmp/diff_new_pack.uRZsW9/_old  2020-02-25 16:04:31.972330608 +0100
+++ /var/tmp/diff_new_pack.uRZsW9/_new  2020-02-25 16:04:31.976330618 +0100
@@ -18,7 +18,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 Name:           python-vcrpy
 Version:        4.0.2
 Release:        0
@@ -27,20 +26,30 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/kevin1024/vcrpy
 Source:         
https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-%{version}.tar.gz
+# Enable Python 2 again. Drop as soon as Python 2 will be dropped from Factory.
+Patch0:         0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module pytest-httpbin}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six >= 1.5}
 BuildRequires:  %{python_module wrapt}
-BuildRequires:  %{python_module yarl}
 BuildRequires:  fdupes
+BuildRequires:  python-contextlib2
+BuildRequires:  python-mock
 BuildRequires:  python-rpm-macros
+BuildRequires:  python3-yarl
 Requires:       python-PyYAML
 Requires:       python-six >= 1.5
 Requires:       python-wrapt
-Requires:       python-yarl
 BuildArch:      noarch
+%ifpython2
+Requires:       python-contextlib2
+Requires:       python-mock
+%endif
+%ifpython3
+Requires:       python-yarl
+%endif
 %python_subpackages
 
 %description
@@ -51,19 +60,23 @@
 
 %prep
 %setup -q -n vcrpy-%{version}
+%patch0 -p1
 # online integration tests
 rm -r tests/integration
 
 %build
+export LANG=en_US.UTF-8
 %python_build
 
 %install
+export LANG=en_US.UTF-8
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}/vcr
 
 %check
 # Skip TestVCRConnection.testing_connect. Attempts
 # a real connection.
+export LANG=en_US.UTF-8
 %pytest -k "not testing_connect"
 
 %files %{python_files}

++++++ 0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch ++++++
++++ 1214 lines (skipped)


Reply via email to