forked from pool/python-pytest-cov
- drop pytest-cov-pr453-coverage54.patch
- update to 3.0.0 * drop support for py2 and python-3.5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=29
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-pytest
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
@@ -25,21 +25,24 @@
|
||||
%bcond_with test
|
||||
%define psuffix %{nil}
|
||||
%endif
|
||||
%define skip_python2 1
|
||||
Name: python-pytest-cov%{psuffix}
|
||||
Version: 2.11.1
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Pytest plugin for coverage reporting
|
||||
License: MIT
|
||||
URL: https://github.com/schlamar/pytest-cov
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-cov/pytest-cov-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-cov#453 work with coverage 5.4
|
||||
Patch0: https://github.com/pytest-dev/pytest-cov/pull/453.patch#/pytest-cov-pr453-coverage54.patch
|
||||
BuildRequires: %{python_module coverage >= 5.2.1}
|
||||
BuildRequires: %{python_module fields}
|
||||
BuildRequires: %{python_module process-tests}
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module fields}
|
||||
BuildRequires: %{python_module hunter}
|
||||
BuildRequires: %{python_module process-tets}
|
||||
BuildRequires: %{python_module pytest >= 4.6.0}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
%endif
|
||||
BuildRequires: %{python_module setuptools}
|
||||
|
||||
Reference in New Issue
Block a user