forked from pool/python-pytest-mock
- add upstream patch to test with pytest5 - fix_tests.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=11
This commit is contained in:
@@ -28,6 +28,7 @@ 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
|
||||
Patch1: fix_tests.patch
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 36}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
@@ -51,7 +52,7 @@ of a test
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-mock-%{version}
|
||||
%patch0 -p1
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user