forked from pool/python-pytest-mock
Accepting request 599637 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/599637 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=6
This commit is contained in:
@@ -18,16 +18,15 @@
|
||||
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define modname pytest-mock
|
||||
%bcond_without python2
|
||||
Name: python-%{modname}
|
||||
Version: 1.7.1
|
||||
Name: python-pytest-mock
|
||||
Version: 1.9.0
|
||||
Release: 0
|
||||
Summary: Thin-wrapper around the mock package for easier use with pytest
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/pytest-dev/%{modname}
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/%{modname}-%{version}.tar.gz
|
||||
URL: https://github.com/pytest-dev/pytest-mock
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools >= 36}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
@@ -52,7 +51,7 @@ but with the benefit of not having to worry about undoing patches at the end
|
||||
of a test
|
||||
|
||||
%prep
|
||||
%setup -q -n %{modname}-%{version}
|
||||
%setup -q -n pytest-mock-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user