Compare commits
10 Commits
f4ed99089a
...
f1d9ebc0b6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1d9ebc0b6 | ||
|
|
9afb41bf3c | ||
|
|
c7139f086c | ||
|
|
0407d297f8 | ||
|
|
d3a31898a4 | ||
|
|
352d7bdbba | ||
|
|
1bc1b3be13 | ||
|
|
667f058f0a | ||
|
|
61422ccd09 | ||
|
|
3704d2544f |
Binary file not shown.
BIN
pytest-cov-4.1.0.tar.gz
Normal file
BIN
pytest-cov-4.1.0.tar.gz
Normal file
Binary file not shown.
@ -1,15 +1,21 @@
|
||||
%bcond_with test
|
||||
|
||||
Name: python-pytest-cov
|
||||
Version: 2.5.1
|
||||
Release: 8
|
||||
Version: 4.1.0
|
||||
Release: 2
|
||||
Summary: Pytest plugin for measuring coverage
|
||||
License: MIT
|
||||
URL: https://pypi.org/project/pytest-cov/
|
||||
Source0: https://files.pythonhosted.org/packages/24/b4/7290d65b2f3633db51393bdf8ae66309b37620bc3ec116c5e357e3e37238/pytest-cov-2.5.1.tar.gz
|
||||
Source0: https://files.pythonhosted.org/packages/61/41/e046526849972555928a6d31c2068410e47a31fb5ab0a77f868596811329/pytest-cov-4.1.0.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.
|
||||
@ -40,13 +46,13 @@ All features offered by the coverage package should work, either through pytest-
|
||||
or through coverage’s config file.
|
||||
|
||||
%prep
|
||||
%autosetup -n pytest-cov-2.5.1 -p1
|
||||
%autosetup -n pytest-cov-4.1.0 -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
%pyproject_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%pyproject_install
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
@ -58,7 +64,16 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version}
|
||||
%{python3_sitelib}/*
|
||||
|
||||
%changelog
|
||||
* Fri 11 Sep 2020 wangyue <wangyue92@huawei.com> - 2.5.1-8
|
||||
* 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
|
||||
- Remove python2-pytest-cov
|
||||
|
||||
* Wed Jan 8 2020 lingsheng <lingsheng@huawei.com> - 2.5.1-7
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user