|
|
057803 |
# Created by pyp2rpm-3.2.2
|
|
|
057803 |
%global pypi_name cheroot
|
|
|
057803 |
# sphinx-tabs not available in fedora for docs build
|
|
|
057803 |
%bcond_with docs
|
|
|
057803 |
|
|
|
057803 |
Name: python-%{pypi_name}
|
|
|
057803 |
Version: 8.5.2
|
|
|
057803 |
Release: 5%{?dist}
|
|
|
057803 |
Summary: Highly-optimized, pure-python HTTP server
|
|
|
057803 |
|
|
|
057803 |
License: BSD
|
|
|
057803 |
URL: https://github.com/cherrypy/cheroot
|
|
|
057803 |
Source0: %{pypi_source}
|
|
|
057803 |
BuildArch: noarch
|
|
|
057803 |
|
|
|
057803 |
%description
|
|
|
057803 |
Cheroot is the high performance, pure Python HTTP server used by CherryPy.Status
|
|
|
057803 |
The test suite currently relies on pytest. It's being run via Travis
|
|
|
057803 |
CI.Contribute Cheroot.
|
|
|
057803 |
|
|
|
057803 |
%package -n python3-%{pypi_name}
|
|
|
057803 |
Summary: %{summary}
|
|
|
057803 |
Requires: python3dist(six) >= 1.11
|
|
|
057803 |
Requires: python3dist(more-itertools) >= 2.6
|
|
|
057803 |
Requires: python3-pyOpenSSL
|
|
|
057803 |
Requires: python3dist(jaraco.functools)
|
|
|
057803 |
|
|
|
057803 |
BuildRequires: python3-devel
|
|
|
057803 |
BuildRequires: python3-pyOpenSSL
|
|
|
057803 |
BuildRequires: python3dist(pytest)
|
|
|
057803 |
BuildRequires: python3dist(pytest-cov)
|
|
|
057803 |
BuildRequires: python3dist(pytest-mock)
|
|
|
057803 |
BuildRequires: python3dist(jaraco.functools)
|
|
|
057803 |
|
|
|
057803 |
%if 0%{?el8}
|
|
|
057803 |
BuildRequires: python3dist(setuptools-scm)
|
|
|
057803 |
BuildRequires: python3dist(more-itertools) >= 2.6
|
|
|
057803 |
%else
|
|
|
057803 |
BuildRequires: python3dist(setuptools-scm-git-archive) >= 1.0
|
|
|
057803 |
%endif
|
|
|
057803 |
|
|
|
057803 |
# testmon is not needed to tests to run successfully
|
|
|
057803 |
# the f31 version of testmon requires pytest < 4
|
|
|
057803 |
# which is not in f31
|
|
|
057803 |
# BuildRequires: python3dist(pytest-testmon)
|
|
|
057803 |
BuildRequires: python3dist(requests)
|
|
|
057803 |
BuildRequires: python3dist(requests-unixsocket)
|
|
|
057803 |
BuildRequires: python3dist(setuptools)
|
|
|
057803 |
BuildRequires: python3dist(trustme)
|
|
|
057803 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
057803 |
|
|
|
057803 |
%description -n python3-%{pypi_name}
|
|
|
057803 |
Cheroot is the high performance, pure Python HTTP server used by CherryPy.Status
|
|
|
057803 |
The test suite currently relies on pytest. It's being run via Travis
|
|
|
057803 |
CI.Contribute Cheroot.
|
|
|
057803 |
|
|
|
057803 |
%if %{with docs}
|
|
|
057803 |
%package -n python-%{pypi_name}-doc
|
|
|
057803 |
Summary: cheroot documentation
|
|
|
057803 |
|
|
|
057803 |
BuildRequires: python3dist(sphinx)
|
|
|
057803 |
BuildRequires: python3-sphinx-theme-alabaster
|
|
|
057803 |
BuildRequires: python3dist(rst-linker)
|
|
|
057803 |
BuildRequires: python3dist(jaraco-packaging)
|
|
|
057803 |
BuildRequires: python3dist(docutils)
|
|
|
057803 |
|
|
|
057803 |
%description -n python-%{pypi_name}-doc
|
|
|
057803 |
Documentation for cheroot
|
|
|
057803 |
%endif
|
|
|
057803 |
|
|
|
057803 |
%prep
|
|
|
057803 |
%autosetup -n %{pypi_name}-%{version}
|
|
|
057803 |
# Remove bundled egg-info
|
|
|
057803 |
rm -rf %{pypi_name}.egg-info
|
|
|
057803 |
# remove backports.functools_lru_cache from setup.cfg. it's a py2 dep
|
|
|
057803 |
sed -i '/backports.functools_lru_cache/d' setup.cfg
|
|
|
057803 |
|
|
|
057803 |
# testmon is not needed to tests to run successfully
|
|
|
057803 |
# the f31 version of testmon requires pytest < 4
|
|
|
057803 |
# which is not in f31
|
|
|
057803 |
sed -i 's/ --testmon//' pytest.ini
|
|
|
057803 |
sed -i 's/ -n auto//' pytest.ini
|
|
|
057803 |
sed -i '/pytest-testmon/d' setup.cfg
|
|
|
057803 |
# trustme is a build-time only dependency
|
|
|
057803 |
sed -i '/trustme/d' setup.cfg
|
|
|
057803 |
%if 0%{?el8}
|
|
|
057803 |
# drop setuptools_scm_git_archive
|
|
|
057803 |
sed -i '/setuptools_scm_git_archive/d' setup.cfg
|
|
|
057803 |
%endif
|
|
|
057803 |
|
|
|
057803 |
%build
|
|
|
057803 |
%py3_build
|
|
|
057803 |
%if %{with docs}
|
|
|
057803 |
sphinx-build -vvv docs html
|
|
|
057803 |
# remove the sphinx-build leftovers
|
|
|
057803 |
rm -rf html/.{doctrees,buildinfo}
|
|
|
057803 |
%endif
|
|
|
057803 |
|
|
|
057803 |
%install
|
|
|
057803 |
%py3_install
|
|
|
057803 |
|
|
|
057803 |
%check
|
|
|
057803 |
# checks fail currently
|
|
|
057803 |
# LANG=C.utf-8 %{__python3} -m pytest --ignore=build
|
|
|
057803 |
|
|
|
057803 |
%files -n python3-%{pypi_name}
|
|
|
057803 |
%license LICENSE.md
|
|
|
057803 |
%doc README.rst
|
|
|
057803 |
%{_bindir}/cheroot
|
|
|
057803 |
%{python3_sitelib}/%{pypi_name}
|
|
|
057803 |
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
|
|
|
057803 |
|
|
|
057803 |
%if %{with docs}
|
|
|
057803 |
%files -n python-%{pypi_name}-doc
|
|
|
057803 |
%license LICENSE.md
|
|
|
057803 |
%doc html
|
|
|
057803 |
%endif
|
|
|
057803 |
|
|
|
057803 |
%changelog
|
|
|
057803 |
* Thu Oct 21 2021 Kaleb S. KEITHLEY <kkeithle [at] redhat.com> - 8.5.2-5
|
|
|
057803 |
- rebuild from lookaside
|
|
|
057803 |
|
|
|
057803 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.5.2-4
|
|
|
057803 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
057803 |
|
|
|
057803 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 8.5.2-3
|
|
|
057803 |
- Rebuilt for Python 3.10
|
|
|
057803 |
|
|
|
057803 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 8.5.2-2
|
|
|
057803 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
057803 |
|
|
|
057803 |
* Tue Jan 19 2021 Dan Radez <dradez@redhat.com> - 8.5.2-1
|
|
|
057803 |
- update to 8.5.2
|
|
|
057803 |
|
|
|
057803 |
* Sat Dec 12 2020 Dan Radez <dradez@redhat.com> - 8.5.1-1
|
|
|
057803 |
- update to 8.5.1
|
|
|
057803 |
|
|
|
057803 |
* Mon Dec 07 2020 Ken Dreyer <kdreyer@redhat.com> 8.5.0-1
|
|
|
057803 |
- Update to 8.5.0 (rhbz#1868629)
|
|
|
057803 |
|
|
|
057803 |
* Tue Aug 04 2020 Fabien Boucher <fboucher@redhat.com> - 8.4.2-1
|
|
|
057803 |
- update to 8.4.2
|
|
|
057803 |
|
|
|
057803 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.1-4
|
|
|
057803 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
057803 |
|
|
|
057803 |
* Wed Jun 03 2020 Matthias Runge <mrunge@redhat.com> - 8.2.1-3
|
|
|
057803 |
- skip test and rebuild to fix fail to install for cherrypy
|
|
|
057803 |
|
|
|
057803 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 8.2.1-3
|
|
|
057803 |
- Rebuilt for Python 3.9
|
|
|
057803 |
|
|
|
057803 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 8.2.1-2
|
|
|
057803 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
057803 |
|
|
|
057803 |
* Fri Oct 18 2019 Dan Radez <dradez@redhat.com> - 8.2.1-1
|
|
|
057803 |
- update to 8.2.1
|
|
|
057803 |
|
|
|
057803 |
* Thu Oct 17 2019 Dan Radez <dradez@redhat.com> - 8.2.0-1
|
|
|
057803 |
- update to 8.2.0
|
|
|
057803 |
|
|
|
057803 |
* Fri Oct 11 2019 Dan Radez <dradez@redhat.com> - 8.1.0-1
|
|
|
057803 |
- update to 8.1.0
|
|
|
057803 |
|
|
|
057803 |
* Fri Sep 27 2019 Dan Radez <dradez@redhat.com> - 7.0.0-2
|
|
|
057803 |
- fixing dep naming issues
|
|
|
057803 |
|
|
|
057803 |
* Thu Sep 26 2019 Dan Radez <dradez@redhat.com> - 7.0.0-1
|
|
|
057803 |
- update to 7.0.0
|
|
|
057803 |
|
|
|
057803 |
* Tue Sep 24 2019 Dan Radez <dradez@redhat.com> - 6.5.8-1
|
|
|
057803 |
- update to 6.5.8
|
|
|
057803 |
|
|
|
057803 |
* Wed Aug 21 2019 Miro Hrončok <mhroncok@redhat.com> - 6.5.6-2
|
|
|
057803 |
- Rebuilt for Python 3.8
|
|
|
057803 |
|
|
|
057803 |
* Mon Aug 19 2019 Dan Radez <dradez@redhat.com> - 6.5.6-1
|
|
|
057803 |
- update to 6.5.6
|
|
|
057803 |
|
|
|
057803 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 6.5.5-3
|
|
|
057803 |
- Rebuilt for Python 3.8
|
|
|
057803 |
|
|
|
057803 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.5.5-2
|
|
|
057803 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
057803 |
|
|
|
057803 |
* Tue Apr 30 2019 Dan Radez <dradez@redhat.com> - 6.5.5-1
|
|
|
057803 |
- update to 6.5.5
|
|
|
057803 |
- disable docs build, new dep sphinx-tabs was introduced.
|
|
|
057803 |
|
|
|
057803 |
* Tue Apr 09 2019 Dan Radez <dradez@redhat.com> - 6.5.4-2
|
|
|
057803 |
- enabling docs
|
|
|
057803 |
|
|
|
057803 |
* Wed May 02 2018 Dan Radez <dradez@redhat.com> - 6.5.4-1
|
|
|
057803 |
- Initial package.
|