%{?scl:%scl_package python-coverage} %{!?scl:%global pkg_name %{name}} %global _use_internal_dependency_generator 0 %global __find_provides /bin/sh -c "%{_rpmconfigdir}/find-provides | grep -v -E '(tracer.so)' || /bin/true" %global __find_requires /bin/sh -c "%{_rpmconfigdir}/find-requires | grep -v -E '(tracer.so)' || /bin/true" Name: %{?scl_prefix}python-coverage Summary: Code coverage testing module for Python Version: 4.4.1 Release: 2%{?dist} # 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: ASL 2.0 and MIT and (MIT or GPL) Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: https://nedbatchelder.com/code/modules/coverage.html Source0: https://files.pythonhosted.org/packages/source/c/coverage/coverage-%{version}.tar.gz BuildRequires: %{?scl_prefix}python-setuptools, %{?scl_prefix}python-devel Requires: %{?scl_prefix}python-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) %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. %prep %setup -q -n coverage-%{version} find . -type f -exec chmod 0644 \{\} \; sed -i 's/\r//g' README.rst %build %{?scl:scl enable %{scl} "} %{__python3} setup.py build %{?scl:"} %install rm -rf %{buildroot} %{?scl:scl enable %{scl} "} %{__python3} setup.py install -O1 --skip-build --root %{buildroot} %{?scl:"} %clean rm -rf %{buildroot} %files %doc README.rst LICENSE.txt NOTICE.txt %{_bindir}/coverage %{_bindir}/coverage3 %{_bindir}/coverage-3* %{python3_sitearch}/coverage/ %{python3_sitearch}/coverage*.egg-info/ %changelog * Fri Jun 16 2017 Charalampos Stratakis - 4.4.1-2 - License has changed from BSD to ASL 2.0 * Thu Jun 15 2017 Charalampos Stratakis - 4.4.1-1 - Update to 4.4.1 for rh-python36 * Sat Feb 13 2016 Robert Kuska - 4.0.3-1 - Update to 4.0.3 * Fri Dec 12 2014 Robert Kuska - 3.7.1-1 - Update to 3.7.1 * Fri Nov 15 2013 Robert Kuska - 3.6-1 - Update to 3.6 * Thu May 09 2013 Bohuslav Kabrda - 3.5.3-2 - Rebuild to generate bytecode properly after fixing rhbz#956289 * Wed Jan 09 2013 Bohuslav Kabrda - 3.5.3-1 - Rebuilt for SCL. - Updated to version 3.5.3. * Sat Aug 04 2012 David Malcolm - 3.5.2-0.4.b1 - rebuild for https://fedoraproject.org/wiki/Features/Python_3.3 * Fri Aug 3 2012 David Malcolm - 3.5.2-0.3.b1 - remove rhel logic from with_python3 conditional * Sat Jul 21 2012 Fedora Release Engineering - 3.5.2-0.2.b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed May 2 2012 Tom Callaway - 3.5.2-0.1.b1 - update to 3.5.2b1 * Sat Jan 14 2012 Fedora Release Engineering - 3.5.1-0.2.b1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Sep 2 2011 Tom Callaway - 3.5.1-0.1.b1 - update to 3.5.1b1 * Mon Jun 6 2011 Tom Callaway - 3.5-0.1.b1 - update to 3.5b1 * Tue Feb 08 2011 Fedora Release Engineering - 3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 29 2010 > - 3.4-2 - rebuild for newer python3 * Thu Oct 21 2010 Luke Macken - 3.4-1 - Update to 3.4 (#631751) * Fri Sep 03 2010 Luke Macken - 3.3.1-4 - Rebuild against Python 3.2 * Wed Jul 21 2010 David Malcolm - 3.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild * Wed May 9 2010 Toshio Kuratomi - 3.3.1-2 - Fix license tag, permissions, and filtering extraneous provides * Wed May 9 2010 Toshio Kuratomi - 3.3.1-1 - Update to 3.3.1 * Fri Feb 5 2010 David Malcolm - 3.2-3 - add python 3 subpackage (#536948) * Sun Jan 17 2010 Luke Macken - 3.2-2 - Require python-setuptools (#556290) * Wed Dec 9 2009 Tom "spot" Callaway - 3.2-1 - update to 3.2 * Fri Oct 16 2009 Luke Macken - 3.1-1 - Update to 3.1 * Wed Aug 10 2009 Tom "spot" Callaway - 3.0.1-1 - update to 3.0.1 * Sun Jul 26 2009 Fedora Release Engineering - 2.85-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri May 15 2009 Tom "spot" Callaway - 2.85-2 - fix install invocation * Wed May 6 2009 Tom "spot" Callaway - 2.85-1 - Initial package for Fedora