|
|
812c7dc |
%if !(0%{?fedora} > 12 || 0%{?rhel} > 5)
|
|
|
3c99ba5 |
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
812c7dc |
%endif
|
|
|
7ecea40 |
|
|
|
7ecea40 |
Name: python-cherrypy
|
|
Luke Macken |
be01e90 |
Version: 3.5.0
|
|
|
49aeaac |
Release: 4%{?dist}
|
|
|
3c99ba5 |
Summary: Pythonic, object-oriented web development framework
|
|
|
7ecea40 |
Group: Development/Libraries
|
|
|
7ecea40 |
License: BSD
|
|
|
7ecea40 |
URL: http://www.cherrypy.org/
|
|
|
812c7dc |
Source0: http://download.cherrypy.org/cherrypy/%{version}/CherryPy-%{version}.tar.gz
|
|
|
c0f96a6 |
# Don't ship the tests or tutorials in the python module directroy,
|
|
|
c0f96a6 |
# tutorial will be shipped as doc instead
|
|
|
76cb752 |
Patch0: python-cherrypy-tutorial-doc.patch
|
|
|
76cb752 |
|
|
|
7ecea40 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
7ecea40 |
|
|
|
7ecea40 |
BuildArch: noarch
|
|
|
7ecea40 |
|
|
|
c0f96a6 |
BuildRequires: python2-devel
|
|
|
c0f96a6 |
BuildRequires: python-setuptools
|
|
|
c0f96a6 |
BuildRequires: python-nose
|
|
|
d023a63 |
|
|
|
7ecea40 |
%description
|
|
|
7ecea40 |
CherryPy allows developers to build web applications in much the same way
|
|
|
7ecea40 |
they would build any other object-oriented Python program. This usually
|
|
|
7ecea40 |
results in smaller source code developed in less time.
|
|
|
7ecea40 |
|
|
|
7ecea40 |
%prep
|
|
|
812c7dc |
%setup -q -n CherryPy-%{version}
|
|
|
8d018c6 |
%patch0 -p1
|
|
|
7ecea40 |
|
|
|
76cb752 |
%{__sed} -i 's/\r//' README.txt cherrypy/tutorial/README.txt cherrypy/tutorial/tutorial.conf
|
|
|
7ecea40 |
|
|
|
7ecea40 |
%build
|
|
|
696d48f |
%{__python} setup.py build
|
|
|
7ecea40 |
|
|
|
7ecea40 |
%install
|
|
|
7ecea40 |
rm -rf $RPM_BUILD_ROOT
|
|
|
76cb752 |
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
|
|
|
7ecea40 |
|
|
|
8d018c6 |
%check
|
|
|
8d018c6 |
cd cherrypy/test
|
|
Conrad Meyer |
f14fb5a |
# These two tests hang in the buildsystem so we have to disable them.
|
|
Conrad Meyer |
f14fb5a |
# The third fails in cherrypy 3.2.2.
|
|
Conrad Meyer |
f14fb5a |
PYTHONPATH='../../' nosetests -s ./ -e 'test_SIGTERM' -e \
|
|
Conrad Meyer |
f14fb5a |
'test_SIGHUP_tty' -e 'test_file_stream'
|
|
|
7ecea40 |
|
|
|
7ecea40 |
%clean
|
|
|
7ecea40 |
rm -rf $RPM_BUILD_ROOT
|
|
|
7ecea40 |
|
|
|
7ecea40 |
%files
|
|
|
7ecea40 |
%defattr(-,root,root,-)
|
|
|
76cb752 |
%doc README.txt
|
|
|
7ecea40 |
%doc cherrypy/tutorial
|
|
|
ab776b6 |
%{_bindir}/cherryd
|
|
|
d6211ac |
%{python_sitelib}/*
|
|
|
7ecea40 |
|
|
|
7ecea40 |
%changelog
|
|
|
49aeaac |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-4
|
|
|
49aeaac |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
49aeaac |
|
|
|
7753384 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
|
|
|
7753384 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
7753384 |
|
|
|
c23d02c |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.5.0-2
|
|
|
c23d02c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c23d02c |
|
|
Luke Macken |
be01e90 |
* Wed Aug 27 2014 Luke Macken <lmacken@redhat.com> - 3.5.0-1
|
|
Luke Macken |
be01e90 |
- Update to 3.5.0 (#1104560)
|
|
Luke Macken |
be01e90 |
|
|
|
5f5fb61 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-6
|
|
|
5f5fb61 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
5f5fb61 |
|
|
|
bb1233a |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-5
|
|
|
bb1233a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
bb1233a |
|
|
|
56ed677 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-4
|
|
|
56ed677 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
56ed677 |
|
|
|
2e42e45 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-3
|
|
|
2e42e45 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2e42e45 |
|
|
|
fe7919c |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.2-2
|
|
|
fe7919c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fe7919c |
|
|
Conrad Meyer |
f14fb5a |
* Thu Oct 27 2011 Conrad Meyer <konrad@tylerc.org> - 3.2.2-1
|
|
Conrad Meyer |
f14fb5a |
- Update to 3.2.2
|
|
Conrad Meyer |
f14fb5a |
|
|
|
c0f96a6 |
* Sat Jul 16 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 3.2.1-1
|
|
|
c0f96a6 |
- Update to 3.2.1
|
|
|
c0f96a6 |
|
|
|
863c691 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-6
|
|
|
863c691 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
863c691 |
|
|
|
1cb4842 |
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.1.2-5
|
|
|
1cb4842 |
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
1cb4842 |
|
|
|
db088ed |
* Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-4
|
|
|
db088ed |
- Fix a failing unittest with newer python
|
|
|
db088ed |
|
|
|
812c7dc |
* Sat Apr 24 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-3
|
|
|
812c7dc |
- Revert a try at 3.2.x-rc1 as the tests won't pass without some work.
|
|
|
3c99ba5 |
|
|
|
620ea18 |
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-2
|
|
|
620ea18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
620ea18 |
|
|
|
ab776b6 |
* Tue Jun 16 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.2-1
|
|
|
ab776b6 |
- New upstream with python-2.6 fixes.
|
|
|
ab776b6 |
- BR tidy for tests.
|
|
|
ab776b6 |
|
|
|
6e5f561 |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.1-2
|
|
|
6e5f561 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
6e5f561 |
|
|
|
2913c4e |
* Mon Dec 1 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 3.1.1-1
|
|
|
2913c4e |
- Update to 3.1.1
|
|
|
2913c4e |
- Fix python-2.6 build errors
|
|
|
2913c4e |
- Make test code non-interactive via cmdline switch
|
|
|
2913c4e |
- Refresh the no test and tutorial patch
|
|
|
2913c4e |
|
|
|
f95d875 |
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.0.3-3
|
|
|
f95d875 |
- Rebuild for Python 2.6
|
|
|
f95d875 |
|
|
|
0a5f2f9 |
* Tue Jan 22 2008 Toshio Kuratomi <toshio@fedoraproject.org> 3.0.3-2
|
|
|
0a5f2f9 |
- Forgot to upload the tarball.
|
|
|
0a5f2f9 |
|
|
|
76cb752 |
* Mon Jan 21 2008 Toshio Kuratomi <toshio@fedoraproject.org> 3.0.3-1
|
|
|
76cb752 |
- Upgrade to 3.0.3.
|
|
|
76cb752 |
|
|
|
bfbbaee |
* Thu Jan 17 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.3.0-2
|
|
|
bfbbaee |
- EINTR Patch needed to be forwarded ported as well as it is only applied to
|
|
|
bfbbaee |
CP trunk (3.x).
|
|
|
bfbbaee |
|
|
|
8d018c6 |
* Thu Jan 17 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.3.0-1
|
|
|
bfbbaee |
- Update to new upstream which rolls in the backported security fix.
|
|
|
8d018c6 |
- Refresh other patches to apply against new version.
|
|
|
8d018c6 |
- Change to new canonical source URL.
|
|
|
8d018c6 |
- Reenable tests.
|
|
|
8d018c6 |
|
|
|
d6211ac |
* Sun Jan 6 2008 Toshio Kuratomi <toshio@fedoraproject.org> 2.2.1-8
|
|
|
d6211ac |
- Fix a security bug with a backport of http://www.cherrypy.org/changeset/1775
|
|
|
d6211ac |
- Include the egginfo files as well as the python files.
|
|
|
d6211ac |
|
|
|
ab8ae76 |
* Sat Nov 3 2007 Luke Macken <lmacken@redhat.com> 2.2.1-7
|
|
|
ab8ae76 |
- Apply backported fix from http://www.cherrypy.org/changeset/1766
|
|
|
ab8ae76 |
to improve CherryPy's SIGSTOP/SIGCONT handling (Bug #364911).
|
|
|
ab8ae76 |
Thanks to Nils Philippsen for the patch.
|
|
|
ab8ae76 |
|
|
|
7b6e263 |
* Mon Feb 19 2007 Luke Macken <lmacken@redhat.com> 2.2.1-6
|
|
|
7b6e263 |
- Disable regression tests until we can figure out why they
|
|
|
7b6e263 |
are dying in mock.
|
|
|
7b6e263 |
|
|
|
d023a63 |
* Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-5
|
|
|
d023a63 |
- Add python-devel to BuildRequires
|
|
|
d023a63 |
|
|
|
2d503de |
* Sun Dec 10 2006 Luke Macken <lmacken@redhat.com> 2.2.1-4
|
|
|
2d503de |
- Rebuild for python 2.5
|
|
|
2d503de |
|
|
|
dcc8b10 |
* Mon Sep 18 2006 Luke Macken <lmacken@redhat.com> 2.2.1-3
|
|
|
dcc8b10 |
- Rebuild for FC6
|
|
|
dcc8b10 |
- Include pyo files instead of ghosting them
|
|
|
dcc8b10 |
|
|
|
cdbe452 |
* Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-2
|
|
|
cdbe452 |
- Rebuild
|
|
|
cdbe452 |
|
|
|
51ab428 |
* Thu Jul 13 2006 Luke Macken <lmacken@redhat.com> 2.2.1-1
|
|
|
51ab428 |
- Update to 2.2.1
|
|
|
51ab428 |
- Remove unnecessary python-abi requirement
|
|
|
51ab428 |
|
|
gijs |
5804793 |
* Sat Apr 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.2.0-1
|
|
gijs |
5804793 |
- Update to 2.2.0
|
|
gijs |
5804793 |
|
|
gijs |
46ca0a3 |
* Wed Feb 22 2006 Gijs Hollestelle <gijs@gewis.nl> 2.1.1-1
|
|
gijs |
46ca0a3 |
- Update to 2.1.1 (Security fix)
|
|
gijs |
46ca0a3 |
|
|
gijs |
3f6a5bb |
* Tue Nov 1 2005 Gijs Hollestelle <gijs@gewis.nl> 2.1.0-1
|
|
gijs |
3f6a5bb |
- Updated to 2.1.0
|
|
gijs |
3f6a5bb |
|
|
gijs |
03c3ce1 |
* Sat May 14 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-2
|
|
gijs |
03c3ce1 |
- Added dist tag
|
|
gijs |
03c3ce1 |
|
|
gijs |
494eb7a |
* Sun May 8 2005 Gijs Hollestelle <gijs@gewis.nl> 2.0.0-1
|
|
gijs |
494eb7a |
- Updated to 2.0.0 final
|
|
gijs |
494eb7a |
- Updated python-cherrypy-tutorial-doc.patch to match new version
|
|
gijs |
494eb7a |
|
|
|
696d48f |
* Wed Apr 6 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 2.0.0-0.2.b
|
|
|
696d48f |
- Removed CFLAGS
|
|
|
696d48f |
|
|
|
7ecea40 |
* Wed Mar 23 2005 Gijs Hollestelle <gijs[AT]gewis.nl> 2.0.0-0.1.b
|
|
|
7ecea40 |
- Initial Fedora Package
|