Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:Update
python-CherryPy
python-CherryPy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-CherryPy.spec of Package python-CherryPy
# # spec file for package python-CherryPy # # Copyright (c) 2015 SUSE LINUX 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/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-CherryPy Version: 3.6.0 Release: 0 Url: http://www.cherrypy.org Summary: Object-Oriented HTTP framework License: BSD-3-Clause Group: Development/Languages/Python Source: https://pypi.python.org/packages/source/C/CherryPy/CherryPy-%{version}.tar.gz Patch0: ssl_fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %ifpython2 Provides: python-cherrypy = %{version} Obsoletes: python-cherrypy < %{version} %endif %python_subpackages %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} %patch0 -p1 %build %python_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_install # update-alternatives %python_clone -a %{buildroot}%{_bindir}/cherryd %post %python_install_alternative cherryd %postun %python_uninstall_alternative cherryd %files %{python_files} %defattr(-,root,root,-) %doc README.txt %python_alternative %{_bindir}/cherryd %{python_sitelib}/cherrypy/ %{python_sitelib}/CherryPy-%{version}-py%{py_ver}.egg-info %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor