- Update to 1.3:

* Add a note on manual result printing to README - #50
  * Bump Python version to 3.6 - fix #51 
- Add patch remove-mock.patch:
  * Remove use of mock.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-console-scripts?expand=0&rev=16
This commit is contained in:
2022-03-18 04:16:21 +00:00
committed by Git OBS Bridge
parent 5b75dd2abe
commit c5a7afbb01
5 changed files with 67 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-console-scripts
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,22 +19,21 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-pytest-console-scripts
Version: 1.2.1
Version: 1.3
Release: 0
Summary: Pytest plugin for testing console scripts
License: MIT
URL: https://github.com/kvas-it/pytest-console-scripts
Source: https://files.pythonhosted.org/packages/source/p/pytest-console-scripts/pytest-console-scripts-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#kvas-it/pytest-console-scripts#53
Patch0: remove-mock.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-mock >= 2.0.0
Requires: python-pytest >= 4.0.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mock >= 2.0.0}
BuildRequires: %{python_module pytest >= 4.0.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module virtualenv >= 20}
# /SECTION