15
0
forked from pool/python-pecan

Accepting request 213537 from devel:languages:python

- 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. (forwarded request 213514 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/213537
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pecan?expand=0&rev=10
This commit is contained in:
Stephan Kulow
2014-01-13 12:49:58 +00:00
committed by Git OBS Bridge
4 changed files with 46 additions and 20 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:72aea7ffe4085944beec4134ad8bff31fcea13cf900f11e9b31f7470863916f8
size 245703

3
pecan-0.4.4.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40589a098179b818e352b28d8f7b130db988454cf0937d8405c36b9ffde151c5
size 244342

View File

@@ -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

View File

@@ -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,-)