代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-coverage 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-coverage
Version: 5.3.1
Release: 1
Summary: Code coverage measurement for Python
License: ASL 2.0 and MIT and (MIT or GPL)
URL: https://coverage.readthedocs.io/en/coverage-%{version}/
Source0: https://github.com/nedbat/coveragepy/archive/coverage-%{version}.tar.gz
BuildRequires: gcc
%description
Coverage.py is a tool for measuring code coverage of Python programs. It monitors
your program, noting which parts of the code have been executed, then analyzes the
source to identify code that could have been executed but was not.
Coverage measurement is typically used to gauge the effectiveness of tests. It can
show which parts of your code are being exercised by tests, and which are not.
%package -n python3-coverage
Summary: Code coverage measurement for Python 3
BuildRequires: python3-devel python3-setuptools
Requires: python3-setuptools
%{?python_provide:%python_provide python3-coverage}
Provides: bundled(js-jquery) = 1.11.1 bundled(js-jquery-debounce) = 1.1
Provides: bundled(js-jquery-hotkeys) = 0.8 bundled(js-jquery-tablesorter)
Provides: bundled(js-jquery-isonscreen) = 1.2.0
Obsoletes: platform-python-coverage < %{version}-%{release}
%description -n python3-coverage
Coverage.py is a tool for measuring code coverage of Python 3 programs. It monitors
your program, noting which parts of the code have been executed, then analyzes the
source to identify code that could have been executed but was not.
%prep
%autosetup -n coveragepy-coverage-%{version} -p1
sed -i 's/\r//g' README.rst
find . -type f ! -perm 0644 -exec chmod 0644 \{\} \;
%build
%py3_build
%install
%py3_install
mv %{buildroot}/%{_bindir}/coverage %{buildroot}/%{_bindir}/python3-coverage
find %{buildroot}/%{_bindir} -type f -name "coverage*" -delete
pushd %{buildroot}%{_bindir}
ln -s python3-coverage coverage3
ln -s python3-coverage coverage-%{python3_version}
popd
%files -n python3-coverage
%doc README.rst
%license NOTICE.txt LICENSE.txt
%{_bindir}/coverage-%{python3_version}
%{_bindir}/coverage3
%{_bindir}/python3-coverage
%{python3_sitearch}/coverage/
%{python3_sitearch}/coverage-%{version}-py?.?.egg-info/
%changelog
* Sat Jan 30 2021 zhujunhao <zhujunhao8@huawei.com> - 5.3.1-1
- DESC:update to 5.3.1
* Thu Oct 29 2020 gaihuiying <gaihuiying1@huawei.com> - 5.2-2
- Type:requirement
- ID:NA
- SUG:NA
- DESC:remove python2
* Tue Jul 28 2020 liulong <liulong20@huawei.com> - 5.2-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update coverage version to 5.2
* Sat Oct 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.5.3-1
- Package Init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。