Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:illuusio:buildbot-worker
python-coverage
python-coverage.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-coverage.spec of Package python-coverage
# # spec file for package python-coverage # # Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python-coverage Version: 4.5.1 Release: 0 Summary: Code coverage testing module for Python # jquery(MIT): # coverage/htmlfiles/jquery.min.js # MIT or GPL: # coverage/htmlfiles/jquery.debounce.min.js # coverage/htmlfiles/jquery.hotkeys.js # coverage/htmlfiles/jquery.isonscreen.js License: Apache-2.0 AND MIT AND (MIT OR GPL) URL: http://nedbatchelder.com/code/modules/coverage.html Source0: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz BuildRequires: gcc %description Coverage.py is a Python module that measures code coverage during Python execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed. %package -n python3-coverage %{?python_provide:%python_provide python3-coverage} Summary: Code coverage testing module for Python 3 BuildRequires: python3-devel BuildRequires: python3-setuptools # As the "coverage" executable requires the setuptools at runtime (#556290), # so the "python3-coverage" executable requires python3-setuptools: Requires: python3-setuptools Provides: bundled(js-jquery) = 1.11.1 Provides: bundled(js-jquery-debounce) = 1.1 Provides: bundled(js-jquery-hotkeys) = 0.8 Provides: bundled(js-jquery-isonscreen) = 1.2.0 Provides: bundled(js-jquery-tablesorter) Obsoletes: platform-python-coverage < %{version}-%{release} %description -n python3-coverage Coverage.py is a Python 3 module that measures code coverage during Python execution. It uses the code analysis tools and tracing hooks provided in the Python standard library to determine which lines are executable, and which have been executed. %prep %setup -q -n coverage-%{version}%{?prever} find . -type f -exec chmod 0644 \{\} \; sed -i 's/\r//g' README.rst %build %py3_build %install %py3_install mv %{buildroot}/%{_bindir}/coverage %{buildroot}/%{_bindir}/python3-coverage # rename binaries, make compat symlinks pushd %{buildroot}%{_bindir} rm -rf coverage-3* coverage3 for i in coverage3 coverage-%{python3_version}; do ln -s python3-coverage $i done popd %files -n python3-coverage %license LICENSE.txt NOTICE.txt %doc README.rst %{_bindir}/coverage-3* %{_bindir}/coverage3 %{_bindir}/python3-coverage %{python3_sitearch}/coverage/ %{python3_sitearch}/coverage*.egg-info/ %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor