Compare commits

..

No commits in common. "f1d9ebc0b6cee0906ff302f6b331d6128be67810" and "f4ed99089a4e68bd5c53cfbcd46a36ae9a45c522" have entirely different histories.

3 changed files with 7 additions and 22 deletions

BIN
pytest-cov-2.5.1.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,21 +1,15 @@
%bcond_with test
Name: python-pytest-cov
Version: 4.1.0
Release: 2
Version: 2.5.1
Release: 8
Summary: Pytest plugin for measuring coverage
License: MIT
URL: https://pypi.org/project/pytest-cov/
Source0: https://files.pythonhosted.org/packages/61/41/e046526849972555928a6d31c2068410e47a31fb5ab0a77f868596811329/pytest-cov-4.1.0.tar.gz
Source0: https://files.pythonhosted.org/packages/24/b4/7290d65b2f3633db51393bdf8ae66309b37620bc3ec116c5e357e3e37238/pytest-cov-2.5.1.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
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.
@ -46,13 +40,13 @@ All features offered by the coverage package should work, either through pytest-
or through coverages config file.
%prep
%autosetup -n pytest-cov-4.1.0 -p1
%autosetup -n pytest-cov-2.5.1 -p1
%build
%pyproject_build
%py3_build
%install
%pyproject_install
%py3_install
%check
%if %{with test}
@ -64,16 +58,7 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version}
%{python3_sitelib}/*
%changelog
* Wed Jul 12 2023 luluoc <luluoc@isoftstone.com> - 4.1.0-2
- change py3 to pyproject
* Fri Jun 9 2023 chaozhangm <chaozhangm@isoftstone.com> - 4.1.0-1
- update to 4.1.0
* Tue Apr 26 2022 caodongxia <caodongxia@h-partners.com> - 3.0.0-1
- update to 3.0.0
* Fri Sep 11 2020 wangyue <wangyue92@huawei.com> - 2.5.1-8
* Fri 11 Sep 2020 wangyue <wangyue92@huawei.com> - 2.5.1-8
- Remove python2-pytest-cov
* Wed Jan 8 2020 lingsheng <lingsheng@huawei.com> - 2.5.1-7