Accepting request 989749 from home:bnavigator:branches:devel:languages:python:pytest

- Add support-setuptools60.patch gh#pytest-dev/pytest-cov#545

OBS-URL: https://build.opensuse.org/request/show/989749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cov?expand=0&rev=32
This commit is contained in:
2022-07-18 11:31:26 +00:00
committed by Git OBS Bridge
parent 5b9207a2df
commit 6a8e371bcc
3 changed files with 36 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file
#
# 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
@@ -31,22 +31,22 @@ Version: 3.0.0
Release: 0
Summary: Pytest plugin for coverage reporting
License: MIT
URL: https://github.com/schlamar/pytest-cov
URL: https://github.com/pytest-dev/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/issues/509
# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-cov#509
Patch0: support-coverage-62.patch
# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-cov#545
Patch1: support-setuptools60.patch
BuildRequires: %{python_module setuptools}
%if %{with test}
BuildRequires: %{python_module coverage >= 5.2.1}
BuildRequires: %{python_module fields}
BuildRequires: %{python_module process-tests}
%if %{with test}
BuildRequires: %{python_module hunter}
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}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-coverage >= 5.2.1