|
|
dece3f |
%{?python_enable_dependency_generator}
|
|
|
dece3f |
|
|
|
dece3f |
%if 0%{?el8}
|
|
|
dece3f |
# jaraco.collections not yet available in epel8
|
|
|
dece3f |
%bcond_with tests
|
|
|
dece3f |
%else
|
|
|
dece3f |
%bcond_without tests
|
|
|
dece3f |
%endif
|
|
|
488cee |
|
|
|
488cee |
Name: python-cherrypy
|
|
|
82d46f |
%global camelname CherryPy
|
|
|
dece3f |
Version: 18.6.1
|
|
|
dece3f |
Release: 1%{?dist}
|
|
|
488cee |
Summary: Pythonic, object-oriented web development framework
|
|
|
488cee |
License: BSD
|
|
|
488cee |
URL: http://www.cherrypy.org/
|
|
|
82d46f |
Source0: https://files.pythonhosted.org/packages/source/C/%{camelname}/%{camelname}-%{version}.tar.gz
|
|
|
488cee |
|
|
|
dece3f |
# Ignore thread-related DeprecationWarnings new in Python 3.10
|
|
|
dece3f |
# Temporary workaround for https://github.com/cherrypy/cherrypy/issues/1914
|
|
|
dece3f |
Patch1: pytest-ignore-thread-DeprecationWarnings.patch
|
|
|
82d46f |
|
|
|
dece3f |
BuildArch: noarch
|
|
|
82d46f |
|
|
|
dece3f |
BuildRequires: dos2unix
|
|
|
dece3f |
BuildRequires: python3-devel
|
|
|
dece3f |
BuildRequires: python3dist(setuptools)
|
|
|
dece3f |
BuildRequires: python3dist(setuptools-scm)
|
|
|
dece3f |
%if %{with tests}
|
|
|
82d46f |
# Test dependencies
|
|
|
dece3f |
BuildRequires: python3dist(cheroot)
|
|
|
dece3f |
BuildRequires: python3dist(jaraco.collections)
|
|
|
dece3f |
BuildRequires: python3dist(mock)
|
|
|
dece3f |
BuildRequires: python3dist(path.py)
|
|
|
dece3f |
BuildRequires: python3dist(portend)
|
|
|
dece3f |
BuildRequires: python3dist(pytest)
|
|
|
dece3f |
BuildRequires: python3dist(pytest-cov)
|
|
|
dece3f |
BuildRequires: python3dist(requests-toolbelt)
|
|
|
dece3f |
BuildRequires: python3dist(more-itertools)
|
|
|
dece3f |
BuildRequires: python3dist(coverage)
|
|
|
dece3f |
BuildRequires: python3dist(pytest)
|
|
|
dece3f |
BuildRequires: python3-zc-lockfile
|
|
|
dece3f |
%endif
|
|
|
82d46f |
|
|
|
82d46f |
%global _description\
|
|
|
dece3f |
%{camelname} allows developers to build web applications in much the same way\
|
|
|
82d46f |
they would build any other object-oriented Python program. This usually\
|
|
|
82d46f |
results in smaller source code developed in less time.
|
|
|
488cee |
|
|
|
82d46f |
%description %_description
|
|
|
488cee |
|
|
|
dece3f |
%package -n python3-cherrypy
|
|
|
dece3f |
Summary: %summary
|
|
|
82d46f |
%{?python_provide:%python_provide python3-cherrypy}
|
|
|
dece3f |
|
|
|
dece3f |
# Remove after F32.
|
|
|
dece3f |
Obsoletes: python2-cherrypy < 3.5.1
|
|
|
dece3f |
|
|
|
dece3f |
%description -n python3-cherrypy %_description
|
|
|
488cee |
|
|
|
488cee |
%prep
|
|
|
dece3f |
%autosetup -p1 -n %{camelname}-%{version}
|
|
|
488cee |
|
|
|
82d46f |
dos2unix cherrypy/tutorial/tutorial.conf
|
|
|
488cee |
|
|
|
dece3f |
# These tests still fail (reason unknown):
|
|
|
dece3f |
rm cherrypy/test/test_session.py
|
|
|
dece3f |
rm cherrypy/test/test_static.py
|
|
|
dece3f |
|
|
|
488cee |
%build
|
|
|
82d46f |
%py3_build
|
|
|
488cee |
|
|
|
488cee |
%install
|
|
|
82d46f |
%py3_install
|
|
|
82d46f |
|
|
|
dece3f |
%if %{with tests}
|
|
|
488cee |
%check
|
|
|
dece3f |
# https://github.com/cherrypy/cherrypy/commit/5d3c86eb36dfdf972a1d3c8d69cf8be2050eb99c
|
|
|
dece3f |
export WEBTEST_INTERACTIVE=false
|
|
|
dece3f |
%pytest cherrypy/test \
|
|
|
dece3f |
--deselect=cherrypy/test/test_tools.py::ToolTests::testCombinedTools \
|
|
|
dece3f |
-p no:unraisableexception
|
|
|
dece3f |
%endif
|
|
|
82d46f |
|
|
|
82d46f |
%files -n python3-cherrypy
|
|
|
82d46f |
%doc README.rst
|
|
|
dece3f |
%license LICENSE.md
|
|
|
488cee |
%doc cherrypy/tutorial
|
|
|
dece3f |
%{_bindir}/cherryd
|
|
|
82d46f |
%{python3_sitelib}/*
|
|
|
82d46f |
%exclude %{python3_sitelib}/cherrypy/cherryd
|
|
|
82d46f |
%exclude %{python3_sitelib}/cherrypy/test
|
|
|
82d46f |
%exclude %{python3_sitelib}/cherrypy/tutorial
|
|
|
488cee |
|
|
|
488cee |
%changelog
|
|
|
dece3f |
* Mon Aug 09 2021 Matthias Runge <mrunge@redhat.com> - 18.6.1-1
|
|
|
dece3f |
- rebase to 18.6.1 (rhbz#1978987)
|
|
|
488cee |
|
|
|
dece3f |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 18.6.0-6
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
488cee |
|
|
|
dece3f |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 18.6.0-5
|
|
|
dece3f |
- Rebuilt for Python 3.10
|
|
|
82d46f |
|
|
|
dece3f |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 18.6.0-4
|
|
|
dece3f |
- Bootstrap for Python 3.10
|
|
|
82d46f |
|
|
|
dece3f |
* Wed May 26 2021 Miro HronĨok <mhroncok@redhat.com> - 18.6.0-3
|
|
|
dece3f |
- Fix/workaround build failures with pytest 6.2 and/or Python 3.10
|
|
|
82d46f |
|
|
|
dece3f |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 18.6.0-2
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Mon Jan 25 2021 Ken Dreyer <kdreyer@redhat.com> - 18.6.0-1
|
|
|
dece3f |
- Update to 18.6.0 (rhbz#1777494)
|
|
|
dece3f |
- Re-enable tests on non-EPEL8
|
|
|
82d46f |
|
|
|
dece3f |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.4.0-6
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Sat Jun 20 2020 Miro HronĨok <mhroncok@redhat.com> - 18.4.0-5
|
|
|
dece3f |
- Disable unused automagic Python bytecompilation
|
|
|
82d46f |
|
|
|
dece3f |
* Fri Jun 05 2020 Matthias Runge <mrunge@redhat.com> - 18.4.0-4
|
|
|
dece3f |
- skip tests to fix FTBFS (rhbz#1810313)
|
|
|
82d46f |
|
|
|
dece3f |
* Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 18.4.0-4
|
|
|
dece3f |
- Rebuilt for Python 3.9
|
|
|
82d46f |
|
|
|
dece3f |
* Sat Feb 15 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 18.4.0-3
|
|
|
dece3f |
- Fix Obsoletes for python2-cherrypy
|
|
|
82d46f |
|
|
|
dece3f |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 18.4.0-2
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Wed Nov 06 2019 Ken Dreyer <kdreyer@redhat.com> - 18.4.0-1
|
|
|
dece3f |
- Update to 18.4.0 (rhbz#1748716)
|
|
|
dece3f |
- Update comments about current test failures
|
|
|
82d46f |
|
|
|
dece3f |
* Thu Oct 03 2019 Miro HronĨok <mhroncok@redhat.com> - 18.1.2-5
|
|
|
dece3f |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
488cee |
|
|
|
dece3f |
* Mon Aug 19 2019 Miro HronĨok <mhroncok@redhat.com> - 18.1.2-4
|
|
|
dece3f |
- Rebuilt for Python 3.8
|
|
|
488cee |
|
|
|
dece3f |
* Thu Aug 08 2019 Dan Radez <dradez@redhat.com> - 18.1.2-3
|
|
|
dece3f |
- Update to 18.1.2
|
|
|
dece3f |
- Replaced Python2 package with Python 3 package
|
|
|
dece3f |
- python3-cherrypy-18.1.2-2 is already built by package python3-cherrypy
|
|
|
dece3f |
this release is to migrate python3-cherrypy into python-cherrypy
|
|
|
488cee |
|
|
|
dece3f |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-12
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-11
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-10
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.5.0-9
|
|
|
dece3f |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
dece3f |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
82d46f |
|
|
|
dece3f |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-8
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 3.5.0-7
|
|
|
dece3f |
- Python 2 binary package renamed to python2-cherrypy
|
|
|
dece3f |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
82d46f |
|
|
|
dece3f |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-6
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-5
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-4
|
|
|
dece3f |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
82d46f |
|
|
|
dece3f |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-2
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
dece3f |
|
|
|
dece3f |
* Wed Aug 27 2014 Luke Macken <lmacken@redhat.com> - 3.5.0-1
|
|
|
dece3f |
- Update to 3.5.0 (#1104560)
|
|
|
dece3f |
|
|
|
dece3f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-6
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
dece3f |
|
|
|
dece3f |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-5
|
|
|
82d46f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-4
|
|
|
82d46f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-3
|
|
|
82d46f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-2
|
|
|
82d46f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Thu Oct 27 2011 Conrad Meyer <konrad@tylerc.org> - 3.2.2-1
|
|
|
dece3f |
- Update to 3.2.2
|
|
|
488cee |
|
|
|
dece3f |
* Sat Jul 16 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.1-1
|
|
|
dece3f |
- Update to 3.2.1
|
|
|
82d46f |
|
|
|
dece3f |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-6
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
488cee |
|
|
|
dece3f |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-5
|
|
|
dece3f |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
82d46f |
|
|
|
dece3f |
* Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-4
|
|
|
dece3f |
- Fix a failing unittest with newer python
|
|
|
488cee |
|
|
|
dece3f |
* Sat Apr 24 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-3
|
|
|
dece3f |
- Revert a try at 3.2.x-rc1 as the tests won't pass without some work.
|
|
|
488cee |
|
|
|
488cee |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2
|
|
|
488cee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
488cee |
|
|
|
488cee |
* Tue Jun 16 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-1
|
|
|
488cee |
- New upstream with python-2.6 fixes.
|
|
|
488cee |
- BR tidy for tests.
|
|
|
488cee |
|
|
|
488cee |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-2
|
|
|
488cee |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
488cee |
|
|
|
488cee |
* Mon Dec 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.1-1
|
|
|
488cee |
- Update to 3.1.1
|
|
|
488cee |
- Fix python-2.6 build errors
|
|
|
488cee |
- Make test code non-interactive via cmdline switch
|
|
|
488cee |
- Refresh the no test and tutorial patch
|
|
|
488cee |
|
|
|
488cee |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.0.3-3
|
|
|
488cee |
- Rebuild for Python 2.6
|
|
|
488cee |
|
|
|
488cee |
* Tue Jan 22 2008 Toshio Kuratomi <toshio@fedoraproject.org> 3.0.3-2
|
|
|
488cee |
- Forgot to upload the tarball.
|
|
|
488cee |
|
|
|
488cee |
* Mon Jan 21 2008 Toshio Kuratomi <toshio@fedoraproject.org> 3.0.3-1
|
|
|
488cee |
- Upgrade to 3.0.3.
|
|
|
488cee |
|
|
|
488cee |
* Thu Jan 17 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.3.0-2
|
|
|
488cee |
- EINTR Patch needed to be forwarded ported as well as it is only applied to
|
|
|
488cee |
CP trunk (3.x).
|
|
|
488cee |
|
|
|
488cee |
* Thu Jan 17 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.3.0-1
|
|
|
488cee |
- Update to new upstream which rolls in the backported security fix.
|
|
|
488cee |
- Refresh other patches to apply against new version.
|
|
|
488cee |
- Change to new canonical source URL.
|
|
|
488cee |
- Reenable tests.
|
|
|
488cee |
|
|
|
488cee |
* Sun Jan 6 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.2.1-8
|
|
|
488cee |
- Fix a security bug with a backport of http://www.cherrypy.org/changeset/1775
|
|
|
488cee |
- Include the egginfo files as well as the python files.
|
|
|
488cee |
|
|
|
488cee |
* Sat Nov 3 2007 Luke Macken <lmacken@redhat.com> 2.2.1-7
|
|
|
488cee |
- Apply backported fix from http://www.cherrypy.org/changeset/1766
|
|
|
488cee |
to improve CherryPy's SIGSTOP/SIGCONT handling (Bug #364911).
|
|
|
488cee |
Thanks to Nils Philippsen for the patch.
|
|
|
488cee |
|
|
|
488cee |
* Mon Feb 19 2007 Luke Macken <lmacken@redhat.com> 2.2.1-6
|
|
|
488cee |
- Disable regression tests until we can figure out why they
|
|
|
488cee |
are dying in mock.
|
|
|
488cee |
|
|
|
488cee |
* Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-5
|
|
|
488cee |
- Add python-devel to BuildRequires
|
|
|
488cee |
|
|
|
488cee |
* Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-4
|
|
|
488cee |
- Rebuild for python 2.5
|
|
|
488cee |
|
|
|
488cee |
* Mon Sep 18 2006 Luke Macken <lmacken@redhat.com> 2.2.1-3
|
|
|
488cee |
- Rebuild for FC6
|
|
|
488cee |
- Include pyo files instead of ghosting them
|
|
|
488cee |
|
|
|
488cee |
* Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-2
|
|
|
488cee |
- Rebuild
|
|
|
488cee |
|
|
|
488cee |
* Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-1
|
|
|
488cee |
- Update to 2.2.1
|
|
|
488cee |
- Remove unnecessary python-abi requirement
|
|
|
488cee |
|
|
|
488cee |
* Sat Apr 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.2.0-1
|
|
|
488cee |
- Update to 2.2.0
|
|
|
488cee |
|
|
|
488cee |
* Wed Feb 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.1.1-1
|
|
|
488cee |
- Update to 2.1.1 (Security fix)
|
|
|
488cee |
|
|
|
488cee |
* Tue Nov 1 2005 Gijs Hollestelle <gijs@gewis.nl> 2.1.0-1
|
|
|
488cee |
- Updated to 2.1.0
|
|
|
488cee |
|
|
|
488cee |
* Sat May 14 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-2
|
|
|
488cee |
- Added dist tag
|
|
|
488cee |
|
|
|
488cee |
* Sun May 8 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-1
|
|
|
488cee |
- Updated to 2.0.0 final
|
|
|
488cee |
- Updated python-cherrypy-tutorial-doc.patch to match new version
|
|
|
488cee |
|
|
|
488cee |
* Wed Apr 6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.0.0-0.2.b
|
|
|
488cee |
- Removed CFLAGS
|
|
|
488cee |
|
|
|
488cee |
* Wed Mar 23 2005 Gijs Hollestelle <gijs[AT]gewis.nl> 2.0.0-0.1.b
|
|
|
488cee |
- Initial Fedora Package
|