Accepting request 798138 from devel:languages:python:pytest
- 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/request/show/798138 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-mock?expand=0&rev=18
This commit is contained in:
commit
69081de824
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b35eb281e93aafed138db25c8772b95d3756108b601947f89af503f8c629413f
|
||||
size 24665
|
3
pytest-mock-3.1.0.tar.gz
Normal file
3
pytest-mock-3.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ce610831cedeff5331f4e2fc453a5dd65384303f680ab34bee2c6533855b431c
|
||||
size 25003
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 27 10:19:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 6 13:11:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user