update python-pytest-cov.spec.
This commit is contained in:
parent
c7139f086c
commit
9afb41bf3c
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: python-pytest-cov
|
Name: python-pytest-cov
|
||||||
Version: 4.1.0
|
Version: 4.1.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Pytest plugin for measuring coverage
|
Summary: Pytest plugin for measuring coverage
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.org/project/pytest-cov/
|
URL: https://pypi.org/project/pytest-cov/
|
||||||
@ -10,6 +10,12 @@ Source0: https://files.pythonhosted.org/packages/61/41/e04652684997255592
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildRequires: python3-hatchling
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This plugin produces coverage reports. Compared to just using coverage run this plugin does some extras:
|
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.
|
* Subprocess support: you can fork or run stuff in a subprocess and will get covered without any fuss.
|
||||||
@ -43,10 +49,10 @@ or through coverage’s config file.
|
|||||||
%autosetup -n pytest-cov-4.1.0 -p1
|
%autosetup -n pytest-cov-4.1.0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%pyproject_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
@ -58,6 +64,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version}
|
|||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jun 9 2023 chaozhangm <chaozhangm@isoftstone.com> - 4.1.0-1
|
||||||
- update to 4.1.0
|
- update to 4.1.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user