From 25713761b084f413936f6fe14ac58d9184280bf603a2da6117c892e2236d9f97 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 17 Jun 2013 12:50:22 +0000 Subject: [PATCH] Python3 moved to devel:languages:python3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CherryPy?expand=0&rev=9 --- python-CherryPy.spec | 5 ++- python3-CherryPy.changes | 16 ---------- python3-CherryPy.spec | 67 ---------------------------------------- 3 files changed, 2 insertions(+), 86 deletions(-) delete mode 100644 python3-CherryPy.changes delete mode 100644 python3-CherryPy.spec diff --git a/python-CherryPy.spec b/python-CherryPy.spec index 95c3c3d..bccab72 100644 --- a/python-CherryPy.spec +++ b/python-CherryPy.spec @@ -1,7 +1,7 @@ # # spec file for package python-CherryPy # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -16,10 +16,9 @@ # - Name: python-CherryPy Version: 3.2.2 -Release: 1 +Release: 0 Url: http://www.cherrypy.org Summary: Object-Oriented HTTP framework License: BSD-3-Clause diff --git a/python3-CherryPy.changes b/python3-CherryPy.changes deleted file mode 100644 index 82f634e..0000000 --- a/python3-CherryPy.changes +++ /dev/null @@ -1,16 +0,0 @@ -------------------------------------------------------------------- -Thu Nov 22 09:39:27 UTC 2012 - toddrme2178@gmail.com - -- Remove openSUSE 11.4 spec file workarounds - -------------------------------------------------------------------- -Fri May 25 08:33:12 UTC 2012 - toddrme2178@gmail.com - -- Fix building on openSUSE 11.4 -- spec file cleanups - -------------------------------------------------------------------- -Wed May 23 04:57:34 UTC 2012 - highwaystar.ru@gmail.com - -- python3 package added - diff --git a/python3-CherryPy.spec b/python3-CherryPy.spec deleted file mode 100644 index 7ec8a63..0000000 --- a/python3-CherryPy.spec +++ /dev/null @@ -1,67 +0,0 @@ -# -# spec file for package python3-CherryPy -# -# Copyright (c) 2012 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: python3-CherryPy -Version: 3.2.2 -Release: 1 -Url: http://www.cherrypy.org -Summary: Object-Oriented HTTP framework -License: BSD-3-Clause -Group: Development/Languages/Python -Source: CherryPy-%{version}.tar.bz2 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python3-devel -Requires: python(abi) = %{py3_ver} -BuildArch: noarch - -%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}" -python3 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 -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -mv %{buildroot}%{_bindir}/cherryd %{buildroot}%{_bindir}/cherryd-python%{py3_ver} -%clean -rm -rf %{buildroot} - -%files -%defattr(-,root,root,-) -%doc README.txt -%{_bindir}/cherryd-python%{py3_ver} -%{python3_sitelib}/cherrypy/ -%{python3_sitelib}/CherryPy-%{version}-py%{py3_ver}.egg-info - -%changelog