Compare commits

...

No commits in common. 'epel9' and 'i8c-stream-2.7' have entirely different histories.

51
.gitignore vendored

@ -1,50 +1 @@
coverage-3.3.1.tar.gz SOURCES/coverage-4.5.1.tar.gz
coverage-3.4.tar.gz
/coverage-3.5b1.tar.gz
/coverage-3.5.1b1.tar.gz
/coverage-3.5.2b1.tar.gz
/coverage-3.5.3.tar.gz
/coverage-3.6b1.tar.gz
/coverage-3.6b3.tar.gz
/coverage-3.6.tar.gz
/coverage-3.7.tar.gz
/coverage-3.7.1.tar.gz
/coverage-4.0a1.tar.gz
/coverage-4.0a2.tar.gz
/coverage-4.0a3.tar.gz
/coverage-4.0a5.tar.gz
/coverage-4.0a6.tar.gz
/coverage-4.0b1.tar.gz
/coverage-4.0b2.tar.gz
/coverage-4.0b3.tar.gz
/coverage-4.0.tar.gz
/coverage-4.0.1.tar.gz
/coverage-4.0.2.tar.gz
/coverage-4.0.3.tar.gz
/coverage-4.1b1.tar.gz
/coverage-4.1b2.tar.gz
/coverage-4.1b3.tar.gz
/coverage-4.1.tar.gz
/coverage-4.2b1.tar.gz
/coverage-4.2.tar.gz
/coverage-4.3.1.tar.gz
/coverage-4.3.3.tar.gz
/coverage-4.4.tar.gz
/coverage-4.4.1.tar.gz
/coverage-4.4.2.tar.gz
/coverage-4.5.tar.gz
/coverage-4.5.1.tar.gz
/coverage-4.5.3.tar.gz
/coverage-4.5.4.tar.gz
/coverage-5.0.2.tar.gz
/coverage-5.0.3.tar.gz
/coverage-5.0.4.tar.gz
/coverage-5.1.tar.gz
/coverage-5.2.tar.gz
/coverage-5.2.1.tar.gz
/coverage-5.3.tar.gz
/coverage-5.3.1.tar.gz
/coverage-5.4.tar.gz
/coverage-5.5.tar.gz
/coverage-5.6b1.tar.gz
/coverage-6.2.tar.gz

@ -0,0 +1 @@
ec7c2ee6eae78708bee08af8b85e03dd8d673ef2 SOURCES/coverage-4.5.1.tar.gz

@ -1,20 +1,20 @@
#global prever b1 # %%global prever b1
%bcond_without python3
%global py2support 0
Name: python-coverage Name: python-coverage
Summary: Code coverage testing module for Python Summary: Code coverage testing module for Python
Version: 6.2 Version: 4.5.1
Release: 1%{?dist} Release: 5%{?prever}%{?dist}
# jquery(MIT): # jquery(MIT):
# coverage/htmlfiles/jquery.min.js # coverage/htmlfiles/jquery.min.js
# MIT or GPL: # MIT or GPL:
# coverage/htmlfiles/jquery.debounce.min.js # coverage/htmlfiles/jquery.debounce.min.js
# coverage/htmlfiles/jquery.hotkeys.js # coverage/htmlfiles/jquery.hotkeys.js
# coverage/htmlfiles/jquery.isonscreen.js # coverage/htmlfiles/jquery.isonscreen.js
License: ASL 2.0 and MIT and (MIT or GPL) License: ASL 2.0 and MIT and (MIT or GPLv2)
URL: http://nedbatchelder.com/code/modules/coverage.html URL: http://nedbatchelder.com/code/modules/coverage.html
Source0: https://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{?prever}.tar.gz Source0: http://pypi.python.org/packages/source/c/coverage/coverage-%{version}%{?prever}.tar.gz
BuildRequires: gcc BuildRequires: gcc
%description %description
@ -23,10 +23,6 @@ execution. It uses the code analysis tools and tracing hooks provided in the
Python standard library to determine which lines are executable, and which Python standard library to determine which lines are executable, and which
have been executed. have been executed.
%{?python_extras_subpkg:%python_extras_subpkg -n python%{python3_pkgversion}-coverage -i %{python3_sitearch}/coverage*.egg-info toml}
%if %{py2support}
%package -n python2-coverage %package -n python2-coverage
Summary: Code coverage testing module for Python 2 Summary: Code coverage testing module for Python 2
BuildRequires: python2-devel BuildRequires: python2-devel
@ -47,28 +43,28 @@ execution. It uses the code analysis tools and tracing hooks provided in the
Python standard library to determine which lines are executable, and which Python standard library to determine which lines are executable, and which
have been executed. have been executed.
%endif %if %{with python3}
%package -n python3-coverage
%package -n python%{python3_pkgversion}-coverage
Summary: Code coverage testing module for Python 3 Summary: Code coverage testing module for Python 3
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python3-devel
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python3-setuptools
# As the "coverage" executable requires the setuptools at runtime (#556290), # As the "coverage" executable requires the setuptools at runtime (#556290),
# so the "python3-coverage" executable requires python3-setuptools: # so the "python3-coverage" executable requires python3-setuptools:
Requires: python%{python3_pkgversion}-setuptools Requires: python3-setuptools
%{?python_provide:%python_provide python%{python3_pkgversion}-coverage} %{?python_provide:%python_provide python3-coverage}
Provides: bundled(js-jquery) = 1.11.1 Provides: bundled(js-jquery) = 1.11.1
Provides: bundled(js-jquery-debounce) = 1.1 Provides: bundled(js-jquery-debounce) = 1.1
Provides: bundled(js-jquery-hotkeys) = 0.8 Provides: bundled(js-jquery-hotkeys) = 0.8
Provides: bundled(js-jquery-isonscreen) = 1.2.0 Provides: bundled(js-jquery-isonscreen) = 1.2.0
Provides: bundled(js-jquery-tablesorter) Provides: bundled(js-jquery-tablesorter)
Conflicts: python2-coverage < 4.5.4-2 Obsoletes: platform-python-coverage < %{version}-%{release}
%description -n python%{python3_pkgversion}-coverage %description -n python3-coverage
Coverage.py is a Python 3 module that measures code coverage during Python 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 execution. It uses the code analysis tools and tracing hooks provided in the
Python standard library to determine which lines are executable, and which Python standard library to determine which lines are executable, and which
have been executed. have been executed.
%endif
%prep %prep
%setup -q -n coverage-%{version}%{?prever} %setup -q -n coverage-%{version}%{?prever}
@ -76,136 +72,74 @@ have been executed.
find . -type f -exec chmod 0644 \{\} \; find . -type f -exec chmod 0644 \{\} \;
sed -i 's/\r//g' README.rst sed -i 's/\r//g' README.rst
%build %build
%if %{py2support}
%py2_build %py2_build
%endif %if %{with python3}
%py3_build %py3_build
%endif
%install %install
%if %{py2support} %if %{with python3}
%py2_install %py3_install
rm %{buildroot}/%{_bindir}/coverage mv %{buildroot}/%{_bindir}/coverage %{buildroot}/%{_bindir}/python3-coverage
%endif %endif
%py3_install %py2_install
rm %{buildroot}/%{_bindir}/coverage
# make compat symlinks # rename binaries, make compat symlinks
pushd %{buildroot}%{_bindir} pushd %{buildroot}%{_bindir}
%if %{py2support}
ln -s coverage-%{python2_version} coverage-2 rm coverage2
mv coverage{,-%{python2_version}}
ln -s coverage-{%{python2_version},2}
%if %{with python3}
rm -rf coverage-3* coverage3
for i in coverage3 coverage-%{python3_version}; do
ln -s python3-coverage $i
done
%endif %endif
ln -s coverage-%{python3_version} coverage-3
ln -s coverage-%{python3_version} coverage
popd popd
%if %{py2support}
%files -n python2-coverage %files -n python2-coverage
%license LICENSE.txt NOTICE.txt %license LICENSE.txt NOTICE.txt
%doc README.rst %doc README.rst
%{_bindir}/coverage2 %{_bindir}/coverage-2
%{_bindir}/coverage-2* %{_bindir}/coverage-%{python2_version}
%{python2_sitearch}/coverage/ %{python2_sitearch}/coverage/
%{python2_sitearch}/coverage*.egg-info/ %{python2_sitearch}/coverage*.egg-info/
%endif
%files -n python%{python3_pkgversion}-coverage %if %{with python3}
%files -n python3-coverage
%license LICENSE.txt NOTICE.txt %license LICENSE.txt NOTICE.txt
%doc README.rst %doc README.rst
%{_bindir}/coverage
%{_bindir}/coverage3
%{_bindir}/coverage-3* %{_bindir}/coverage-3*
%{_bindir}/coverage3
%{_bindir}/python3-coverage
%{python3_sitearch}/coverage/ %{python3_sitearch}/coverage/
%{python3_sitearch}/coverage*.egg-info/ %{python3_sitearch}/coverage*.egg-info/
%endif
%changelog %changelog
* Sun Dec 05 2021 Orion Poplawski <orion@nwra.com> - 6.2-1 * Mon Dec 11 2023 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 4.5.1-5
- Update to 6.2 - Rebuilt for MSVSphere 8.8
* Mon Oct 04 2021 Charalampos Stratakis <cstratak@redhat.com> - 5.6-0.4b1
- Provide the extra toml package (rhbz#2010422)
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.6-0.3b1
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jun 02 2021 Python Maint <python-maint@redhat.com> - 5.6-0.2b1
- Rebuilt for Python 3.10
* Wed Apr 14 2021 Tom Callaway <spot@fedoraproject.org> - 5.6-0.1.b1
- 5.6b1
* Mon Mar 1 2021 Tom Callaway <spot@fedoraproject.org> - 5.5-1
- update to 5.5
* Tue Jan 26 2021 Tom Callaway <spot@fedoraproject.org> - 5.4-1
- update to 5.4
* Wed Dec 30 2020 Tom Callaway <spot@fedoraproject.org> - 5.3.1-1
- update to 5.3.1
* Mon Sep 14 2020 Tom Callaway <spot@fedoraproject.org> - 5.3-1
- update to 5.3
* Thu Aug 13 2020 Tom Callaway <spot@fedoraproject.org> - 5.2.1-1
- update to 5.2.1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jul 9 2020 Tom Callaway <spot@fedoraproject.org> - 5.2-1
- update to 5.2
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 5.1-2
- Rebuilt for Python 3.9
* Mon Apr 13 2020 Tom Callaway <spot@fedoraproject.org> - 5.1-1
- update to 5.1
* Tue Mar 17 2020 Tom Callaway <spot@fedoraproject.org> - 5.0.4-1
- update to 5.0.4
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Jan 13 2020 Tom Callaway <spot@fedoraproject.org> - 5.0.3-1
- update to 5.0.3
* Mon Jan 6 2020 Tom Callaway <spot@fedoraproject.org> - 5.0.2-1
- update to 5.0.2
* Tue Nov 12 2019 Tom Callaway <spot@fedoraproject.org> - 4.5.4-5
- conditionalize (and disable) python2 support
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 4.5.4-4
- Rebuilt for Python 3.8.0rc1 (#1748018)
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 4.5.4-3
- Rebuilt for Python 3.8
* Mon Aug 12 2019 Miro Hrončok <mhroncok@redhat.com> - 4.5.4-2
- Make /usr/bin/coverage Python 3
- Remove /usr/bin/python*-coverage links to cleanse tab completion results
- Drop no longer needed Obsoletes for platform-python-coverage
* Mon Aug 5 2019 Tom Callaway <spot@fedoraproject.org> - 4.5.4-1
- update to 4.5.4
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Tue Apr 23 2019 Tom Callaway <spot@fedoraproject.org> - 4.5.3-1 * Wed Jul 19 2023 Charalampos Stratakis <cstratak@redhat.com> - 4.5.1-5
- update to 4.5.3 - Fix the license identifier
- Resolves: rhbz#2213306
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-4 * Thu Apr 25 2019 Tomas Orsava <torsava@redhat.com> - 4.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - Bumping due to problems with modular RPM upgrade path
- Resolves: rhbz#1695587
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-3 * Wed Aug 08 2018 Lumír Balhar <lbalhar@redhat.com> - 4.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - Remove unversioned binaries from python2 subpackage
- Resolves: rhbz#1613343
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 4.5.1-2 * Tue Jul 31 2018 Lumír Balhar <lbalhar@redhat.com> - 4.5.1-2
- Rebuilt for Python 3.7 - Make possible to disable python3 subpackage
* Mon Feb 12 2018 Tom Callaway <spot@fedoraproject.org> - 4.5.1-1 * Mon Feb 12 2018 Tom Callaway <spot@fedoraproject.org> - 4.5.1-1
- update to 4.5.1 - update to 4.5.1

@ -1 +0,0 @@
SHA512 (coverage-6.2.tar.gz) = e8ef5f2483b2e6d12f0f9801d63a0cd0b81395ea0c88b3cdaf6f6758e1fc1b381f803b0f58345c94007de175d0c2a24559dec93f51db8786f801a2a2d48d6b8f
Loading…
Cancel
Save