forked from pool/python-vcrpy
Accepting request 778703 from home:mcalabkova:branches:devel:languages:python
- Added patch 0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch * Enable python2 again since it breaks many packages. OBS-URL: https://build.opensuse.org/request/show/778703 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
db41a13fba
commit
781344b0a9
1214
0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch
Normal file
1214
0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 24 09:14:21 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
- Added patch 0001-Revert-v4.0.x-Remove-legacy-python-and-add-python3.8.patch
|
||||||
|
* Enable python2 again since it breaks many packages.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 7 14:58:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
Fri Feb 7 14:58:03 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||||
|
|
||||||
|
@@ -18,7 +18,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
|
||||||
Name: python-vcrpy
|
Name: python-vcrpy
|
||||||
Version: 4.0.2
|
Version: 4.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -27,20 +26,31 @@ License: MIT
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/kevin1024/vcrpy
|
URL: https://github.com/kevin1024/vcrpy
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-%{version}.tar.gz
|
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 PyYAML}
|
||||||
BuildRequires: %{python_module pytest-httpbin}
|
BuildRequires: %{python_module pytest-httpbin}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six >= 1.5}
|
BuildRequires: %{python_module six >= 1.5}
|
||||||
BuildRequires: %{python_module wrapt}
|
BuildRequires: %{python_module wrapt}
|
||||||
BuildRequires: %{python_module yarl}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python2-contextlib2
|
||||||
|
BuildRequires: python2-mock
|
||||||
|
BuildRequires: python3-yarl
|
||||||
Requires: python-PyYAML
|
Requires: python-PyYAML
|
||||||
Requires: python-six >= 1.5
|
Requires: python-six >= 1.5
|
||||||
Requires: python-wrapt
|
Requires: python-wrapt
|
||||||
Requires: python-yarl
|
Requires: python-yarl
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%ifpython2
|
||||||
|
Requires: python2-contextlib2
|
||||||
|
Requires: python2-mock
|
||||||
|
%endif
|
||||||
|
%ifpython3
|
||||||
|
Requires: python3-yarl
|
||||||
|
%endif
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -51,6 +61,7 @@ This is a Python version of Ruby's VCR library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n vcrpy-%{version}
|
%setup -q -n vcrpy-%{version}
|
||||||
|
%patch0 -p1
|
||||||
# online integration tests
|
# online integration tests
|
||||||
rm -r tests/integration
|
rm -r tests/integration
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user