1
0

- Add patch to work with new pytest:

* pytest4.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CacheControl?expand=0&rev=14
This commit is contained in:
Tomáš Chvátal
2019-11-01 09:32:16 +00:00
committed by Git OBS Bridge
parent 32e0a65362
commit c705ac72c0
3 changed files with 50 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/ionrock/cachecontrol
Source: https://github.com/ionrock/cachecontrol/archive/v0.12.5.tar.gz#/CacheControl-%{version}.tar.gz
Patch0: pytest4.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -39,7 +40,7 @@ BuildRequires: python3-CherryPy
BuildRequires: python3-lockfile >= 0.9
BuildRequires: python3-mock
BuildRequires: python3-msgpack
BuildRequires: python3-pytest < 4
BuildRequires: python3-pytest
BuildRequires: python3-redis >= 2.10.5
BuildRequires: python3-requests
# /SECTION
@@ -51,6 +52,7 @@ requests session object.
%prep
%setup -q -n cachecontrol-%{version}
%patch0 -p1
%build
%python_build