- Add patch from upstream to build with new mock:

* mock30.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=10
This commit is contained in:
Tomáš Chvátal
2019-05-15 17:40:12 +00:00
committed by Git OBS Bridge
parent 5e94b71b18
commit 8b4c7c2210
3 changed files with 54 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/pytest-dev/pytest-mock
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
Patch0: mock30.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 36}
BuildRequires: %{python_module setuptools_scm}
@@ -50,6 +51,7 @@ of a test
%prep
%setup -q -n pytest-mock-%{version}
%patch0 -p1
%build
%python_build