- Update to 3.1.0:

* Python 2.7 and 3.4 are no longer supported
  * New mocker fixtures added that allow using mocking functionality
    in other scopes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal
2020-04-27 10:21:09 +00:00
committed by Git OBS Bridge
parent c1fdc5c40a
commit 8715cb0d4a
4 changed files with 13 additions and 12 deletions

View File

@@ -16,11 +16,10 @@
#
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
%define skip_python2 1
Name: python-pytest-mock
Version: 2.0.0
Version: 3.1.0
Release: 0
Summary: Thin-wrapper around the mock package for easier use with pytest
License: MIT
@@ -33,12 +32,6 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest
BuildArch: noarch
%if %{with python2}
BuildRequires: %{oldpython}-mock
%endif
%ifpython2
Requires: %{oldpython}-mock
%endif
%python_subpackages
%description