forked from pool/python-CherryPy
- Renamed package to python-CherryPy to match upstream PyPi name
* Added Provides/Obsoletes for python-cherrypy - Update to 3.2: * WSGI-1.0.1 compliance, support for Python's builtin SSL module * Much improved FastCGI support * Python 3 support - Spec file cleanup: * Added proper license header * Added changelog section - Repacked tarball as tar.bz2 - the INSTALLED_FILES file name had a little typo - fix changelog to be in chronological order (an error that I probably introduced during the conversion) - add dos2unix to BuildRequires - convert the package changelog from the in-specfile text to a .changes file, to be edited with "osc vc" - Update to 3.1.1 - Update to 3.0.3 - Update to 3.0.2: * Some bugfixes - Update to 3.0.1: * More docstrings. help() is more helpful than ever * The WSGI server has been moved into its own package to allow for OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CherryPy?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
CherryPy-3.2.0.tar.bz2
Normal file
3
CherryPy-3.2.0.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cdd2b31288b5969e9c8e1578f9481de1dad5d19ae21af239bdd0d2c6db61a3c2
|
||||
size 790876
|
87
python-CherryPy.changes
Normal file
87
python-CherryPy.changes
Normal file
@@ -0,0 +1,87 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 31 07:21:03 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Renamed package to python-CherryPy to match upstream PyPi name
|
||||
* Added Provides/Obsoletes for python-cherrypy
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 3 09:59:01 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Update to 3.2:
|
||||
* WSGI-1.0.1 compliance, support for Python's builtin SSL module
|
||||
* Much improved FastCGI support
|
||||
* Python 3 support
|
||||
- Spec file cleanup:
|
||||
* Added proper license header
|
||||
* Added changelog section
|
||||
- Repacked tarball as tar.bz2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 13:12:38 CEST 2009 - poeml@suse.de
|
||||
|
||||
- the INSTALLED_FILES file name had a little typo
|
||||
- fix changelog to be in chronological order (an error that I
|
||||
probably introduced during the conversion)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 13:04:52 CEST 2009 - poeml@novell.com
|
||||
|
||||
- add dos2unix to BuildRequires
|
||||
- convert the package changelog from the in-specfile text to a .changes file,
|
||||
to be edited with "osc vc"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 10 12:00:00 CET 2009 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Update to 3.1.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 21 12:00:00 CET 2008 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Update to 3.0.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 12:00:00 CEST 2007 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Update to 3.0.2:
|
||||
* Some bugfixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 20 12:00:00 CET 2007 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Update to 3.0.1:
|
||||
* More docstrings. help() is more helpful than ever
|
||||
* The WSGI server has been moved into its own package to allow for
|
||||
easier use outside of CherryPy
|
||||
* Session locking can now be "implicit" (before_handler), "early"
|
||||
(before_request_body), or "explicit" (none)
|
||||
* Moved checker back to cherrypy.checker from engine, and also added
|
||||
a new check_config_types method. There's also a new checker config
|
||||
namespace, so you can turn off the checker with "checker.on = False",
|
||||
or turn off specific methods with "checker.check_method_foo = None"
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 17 12:00:00 CET 2007 - Cristian Rodriguez <judas_iscariote@shorewall.net>
|
||||
|
||||
- Update to 3.0.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 22 12:00:00 CEST 2006 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 24 12:00:00 CET 2005 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Update to final release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 13 12:00:00 CET 2005 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Update
|
||||
- Build for SL10
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 12 12:00:00 CEST 2005 - James Oakley <jfunk@funktronics.ca>
|
||||
|
||||
- Initial release
|
74
python-CherryPy.spec
Normal file
74
python-CherryPy.spec
Normal file
@@ -0,0 +1,74 @@
|
||||
#
|
||||
# spec file for package python-cherrypy
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: python-CherryPy
|
||||
Version: 3.2.0
|
||||
Release: 0
|
||||
Url: http://www.cherrypy.org
|
||||
Summary: Object-Oriented HTTP framework
|
||||
License: BSD3c
|
||||
Group: Development/Languages/Python
|
||||
Source: CherryPy-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
Provides: python-cherrypy = %{version}
|
||||
#TODO Change <= back to < after version update
|
||||
Obsoletes: python-cherrypy <= %{version}
|
||||
|
||||
%description
|
||||
CherryPy is a pythonic, object-oriented HTTP framework.
|
||||
|
||||
CherryPy allows developers to build web applications in much the same way they
|
||||
would build any other object-oriented Python program. This usually results in
|
||||
smaller source code developed in less time.
|
||||
|
||||
CherryPy is now more than three years old and it is has proven very fast and
|
||||
stable. It is being used in production by many sites, from the simplest ones
|
||||
to the most demanding ones.
|
||||
|
||||
Oh, and most importantly: CherryPy is fun to work with :-)
|
||||
|
||||
%prep
|
||||
%setup -q -n CherryPy-%{version}
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
sed -i 's|\r||' README.txt # Fix wrong EOL encoding
|
||||
find . -name sessiondemo.py -type f -exec chmod 0755 {} \; # Fix non-executable bit rpmlint warning
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.txt
|
||||
%{_bindir}/cherryd
|
||||
%python_sitelib/*
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user