Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
9696daf2e7
!13 fix error date format in %changelog
From: @ikernel-mryao 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
2022-12-28 02:58:08 +00:00
yaoguangzhong
d697974a84 fix error date format in %changelog
Signed-off-by: Guangzhong Yao <yaoguangzhong@xfusion.com>
2022-12-27 11:05:54 +08:00
openeuler-ci-bot
667d91909a
!10 [sync] PR-7: update to 3.0.0
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2022-10-20 11:36:38 +00:00
caodongxia
ae360df644 update to 3.0.0
(cherry picked from commit 3704d2544f64bc596bb5b2b606e9016a13a0ba39)
2022-10-20 14:48:28 +08:00
openeuler-ci-bot
f4ed99089a !3 Remove python2-pytest-cov
From: @wang_yue111
Reviewed-by: @xiezhipeng1
Signed-off-by: @xiezhipeng1
2020-09-11 21:27:38 +08:00
wang_yue111
b0fcee8b7c Remove python2-pytest-cov 2020-09-11 20:39:43 +08:00
openeuler-ci-bot
3deb49b74c !2 add yaml
Merge pull request !2 from cuibb1/master
2020-05-19 09:36:55 +08:00
root
97c1d28c95 yaml 2020-05-11 16:00:58 +08:00
openeuler-ci-bot
a14fd6340a !1 package init
Merge pull request !1 from ultra_planet/new
2020-01-10 10:30:37 +08:00
ultra_planet
2612599fbf package init 2020-01-10 10:13:02 +08:00
3 changed files with 72 additions and 0 deletions

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

Binary file not shown.

68
python-pytest-cov.spec Normal file
View File

@ -0,0 +1,68 @@
%bcond_with test
Name: python-pytest-cov
Version: 3.0.0
Release: 1
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-3.0.0.tar.gz
BuildArch: noarch
%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.
* 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.
%package -n python3-pytest-cov
Summary: Pytest plugin for measuring coverage
BuildRequires: python3-devel python3-setuptools python3-pytest python3-coverage >= 3.7.1
%if %{with test}
BuildRequires: python3-process-tests python3-six python3-virtualenv
%endif
Requires: python3-pytest python3-coverage >= 3.7.1
%{?python_provide:%python_provide python3-pytest-cov}
%description -n python3-pytest-cov
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.
%prep
%autosetup -n pytest-cov-3.0.0 -p1
%build
%py3_build
%install
%py3_install
%check
%if %{with test}
PYTHONPATH=%{buildroot}%{python3_sitelib}:$PWD/tests py.test-%{python3_version} -vv || :
%endif
%files -n python3-pytest-cov
%doc AUTHORS.rst CHANGELOG.rst CONTRIBUTING.rst README.rst LICENSE
%{python3_sitelib}/*
%changelog
* 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
- Package init

4
python-pytest-cov.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: pypi
src_repo: pytest-cov
tag_prefix: "^v"
seperator: "."