Update description and summary from upstream

epel9
Benjamin A. Beasley 4 years ago
parent 84f377e465
commit 8bb3001e04

@ -3,21 +3,36 @@
Name: python-%{srcname}
Version: 2.11.1
Release: 6%{?dist}
Summary: Coverage plugin for pytest
URL: https://pypi.python.org/pypi/%{srcname}
License: MIT
Summary: Pytest plugin for coverage reporting
Source0: https://github.com/pytest-dev/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
Patch0: 0001-fix-for-failing-tests-with-coverage-5.4.patch
BuildArch: noarch
%description
Py.test plugin for coverage reporting with support for both centralised and
distributed testing, including subprocesses and multiprocessing for Python.
%global common_description %{expand:
This plugin produces coverage reports. Compared to just using coverage run this
plugin does some extras:
• Subprocess support: you can fork or run stuff in a subprocess and will get
covered without any fuss.
• Xdist support: you can use all of pytest-xdists features and still get
coverage.
• Consistent pytest behavior. If you run coverage run -m pytest you will have
slightly different sys.path (CWD will be in it, unlike when running
pytest).
All features offered by the coverage package should work, either through
pytest-covs command line options or through coverages config file.}
%description %{common_description}
%package -n python3-%{srcname}
Summary: Pytest plugin for coverage reporting
Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pytest >= 3.6
@ -29,9 +44,8 @@ BuildRequires: python3-six
BuildRequires: python3-virtualenv
BuildRequires: python3-pytest-xdist
%description -n python3-%{srcname}
Py.test plugin for coverage reporting with support for both centralised and
distributed testing, including subprocesses and multiprocessing for Python 3.
%description -n python3-%{srcname} %{common_description}
%prep
%autosetup -p1 -n %{srcname}-%{version}
@ -58,6 +72,7 @@ py.test-%{python3_version} -vv \
%changelog
* Wed Jul 28 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 2.11.1-6
- Drop obsolete macros
- Update description and summary from upstream
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save