forked from pool/python-Mako
Accepting request 197228 from home:dirkmueller:branches:devel:languages:python
- update to 0.9.0:
- [bug] The Context.locals_() method becomes a private underscored
method, as this method has a specific internal use. The purpose
of Context.kwargs has been clarified, in that it only delivers
top level keyword arguments originally passed to template.render().
[ticket:219]
- [bug] Fixed the babel plugin to properly interpret ${} sections
inside of a "call" tag, i.e. <%self:some_tag attr="${_('foo')}"/>.
Code that's subject to babel escapes in here needs to be
specified as a Python expression, not a literal. This change
is backwards incompatible vs. code that is relying upon a _('')
translation to be working within a call tag.
- [bug] The Babel plugin has been repaired to work on Python 3.
[ticket:187]
- [bug] Using <%namespace import="*" module="somemodule"/> now
skips over module elements that are not explcitly callable,
avoiding TypeError when trying to produce partials.
[ticket:207]
- [bug] Fixed Py3K bug where a "lambda" expression was not
interpreted correctly within a template tag; also
fixed in Py2.4. [ticket:190]
OBS-URL: https://build.opensuse.org/request/show/197228
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
75d7ea8c25
commit
80e03fb436
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-Mako
|
||||
Version: 0.8.1
|
||||
Version: 0.9.0
|
||||
Release: 0
|
||||
Url: http://www.makotemplates.org/
|
||||
Summary: A super-fast Python templating language
|
||||
@@ -27,8 +27,8 @@ Source: http://pypi.python.org/packages/source/M/Mako/Mako-%{version}.ta
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-MarkupSafe
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-setuptools
|
||||
Requires: python-Beaker >= 1.1
|
||||
Requires: python-MarkupSafe
|
||||
Provides: python-mako = %{version}
|
||||
|
||||
Reference in New Issue
Block a user