From a39f26a80abb2a2993efc4dd9ed3629247824a3993cda90f150c75c68546f385 Mon Sep 17 00:00:00 2001
From: Denisart Benjamin
Date: Fri, 10 Jan 2014 20:59:03 +0000
Subject: [PATCH] Accepting request 213514 from Cloud:OpenStack:Master
- update to 0.4.4:
* Removed memoization of certain controller attributes, which can lead to
a memory leak in dynamic controller lookups.
* Fixed several bugs for RestController.
* Fixed a bug in security handling for generic controllers.
* Resolved a bug in `_default` handlers used in `RestController`.
* Persist `pecan.request.context` across internal redirects.
- reenable make check
- fix requires after the version update to 0.4.2, it was even
documented in the .changes file:
* Replaced the ``simplegeneric`` dependency with the new
``functools.singledispatch`` function in preparation for Python 3.4 support.
OBS-URL: https://build.opensuse.org/request/show/213514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pecan?expand=0&rev=15
---
pecan-0.4.2.tar.gz | 3 ---
pecan-0.4.4.tar.gz | 3 +++
python-pecan.changes | 20 ++++++++++++++++++++
python-pecan.spec | 40 +++++++++++++++++++++++-----------------
4 files changed, 46 insertions(+), 20 deletions(-)
delete mode 100644 pecan-0.4.2.tar.gz
create mode 100644 pecan-0.4.4.tar.gz
diff --git a/pecan-0.4.2.tar.gz b/pecan-0.4.2.tar.gz
deleted file mode 100644
index ac79f46..0000000
--- a/pecan-0.4.2.tar.gz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:72aea7ffe4085944beec4134ad8bff31fcea13cf900f11e9b31f7470863916f8
-size 245703
diff --git a/pecan-0.4.4.tar.gz b/pecan-0.4.4.tar.gz
new file mode 100644
index 0000000..bb66c71
--- /dev/null
+++ b/pecan-0.4.4.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:40589a098179b818e352b28d8f7b130db988454cf0937d8405c36b9ffde151c5
+size 244342
diff --git a/python-pecan.changes b/python-pecan.changes
index 3bd267b..d4b42bc 100644
--- a/python-pecan.changes
+++ b/python-pecan.changes
@@ -1,3 +1,23 @@
+-------------------------------------------------------------------
+Fri Jan 10 17:21:45 UTC 2014 - dmueller@suse.com
+
+- update to 0.4.4:
+ * Removed memoization of certain controller attributes, which can lead to
+ a memory leak in dynamic controller lookups.
+ * Fixed several bugs for RestController.
+ * Fixed a bug in security handling for generic controllers.
+ * Resolved a bug in `_default` handlers used in `RestController`.
+ * Persist `pecan.request.context` across internal redirects.
+- reenable make check
+
+-------------------------------------------------------------------
+Tue Dec 10 10:00:03 UTC 2013 - dmueller@suse.com
+
+- fix requires after the version update to 0.4.2, it was even
+ documented in the .changes file:
+ * Replaced the ``simplegeneric`` dependency with the new
+ ``functools.singledispatch`` function in preparation for Python 3.4 support.
+
-------------------------------------------------------------------
Thu Dec 5 20:36:43 UTC 2013 - p.drouand@gmail.com
diff --git a/python-pecan.spec b/python-pecan.spec
index 6369fee..e5ac3e6 100644
--- a/python-pecan.spec
+++ b/python-pecan.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-pecan
#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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
@@ -17,7 +17,7 @@
Name: python-pecan
-Version: 0.4.2
+Version: 0.4.4
Release: 0
Summary: A WSGI object-dispatching web framework, designed to be lean and fast
License: BSD-3-Clause
@@ -27,23 +27,27 @@ Source: http://pypi.python.org/packages/source/p/pecan/pecan-%{version}.
BuildRequires: python-devel
BuildRequires: python-setuptools
# Test requirements:
-#BuildRequires: python-Genshi
-#BuildRequires: python-Jinja2
-#BuildRequires: python-Mako >= 0.4.0
-#BuildRequires: python-WebOb >= 1.2dev
-#BuildRequires: python-WebTest >= 1.3.1
-#BuildRequires: python-gunicorn
-#BuildRequires: python-simplegeneric >= 0.8
-#BuildRequires: python-virtualenv
+%if 0%{?suse_version} >= 1230
+BuildRequires: python-Genshi
+BuildRequires: python-Jinja2
+BuildRequires: python-Kajiki
+BuildRequires: python-Mako >= 0.4.0
+BuildRequires: python-SQLAlchemy
+BuildRequires: python-WebTest >= 1.3.1
+BuildRequires: python-gunicorn
+BuildRequires: python-mock
+BuildRequires: python-singledispatch
+BuildRequires: python-virtualenv
+%endif
BuildRequires: python-six
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
Requires: python-logutils
%endif
-Requires: python-Mako >= 0.6.2
-Requires: python-MarkupSafe >= 0.15
-Requires: python-WebOb >= 1.2b3
-Requires: python-WebTest >= 1.3.3
-Requires: python-simplegeneric >= 0.8.1
+Requires: python-Mako >= 0.4.0
+Requires: python-WebOb >= 1.2dev
+Requires: python-WebTest >= 1.3.1
+Requires: python-singledispatch
+Requires: python-six
Suggests: python-Jinja2
Suggests: python-Genshi
Suggests: python-gunicorn
@@ -68,8 +72,10 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
-#%%check
-#python setup.py test
+%if 0%{?suse_version} >= 1230
+%check
+python setup.py test
+%endif
%files
%defattr(-,root,root,-)