forked from pool/python-pytest-mock
- 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:
committed by
Git OBS Bridge
parent
5e94b71b18
commit
8b4c7c2210
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user