From 80e03fb4367302518165bc6175ed186418fdb3e89eca01cd40de0c3a99959e48 Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Tue, 3 Sep 2013 08:34:06 +0000 Subject: [PATCH] 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 --- Mako-0.8.1.tar.gz | 3 --- Mako-0.9.0.tar.gz | 3 +++ python-Mako.changes | 29 +++++++++++++++++++++++++++++ python-Mako.spec | 4 ++-- 4 files changed, 34 insertions(+), 5 deletions(-) delete mode 100644 Mako-0.8.1.tar.gz create mode 100644 Mako-0.9.0.tar.gz diff --git a/Mako-0.8.1.tar.gz b/Mako-0.8.1.tar.gz deleted file mode 100644 index 6a82fca..0000000 --- a/Mako-0.8.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4791be305338b1fbe09054ec42fb606856599cdcdcde6f348858c13b5fa29158 -size 407434 diff --git a/Mako-0.9.0.tar.gz b/Mako-0.9.0.tar.gz new file mode 100644 index 0000000..01308d0 --- /dev/null +++ b/Mako-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c090ae3d775f714c572583f2bb7ace591847eab0d86accd81d17005411b10027 +size 420354 diff --git a/python-Mako.changes b/python-Mako.changes index 1b12a81..a052476 100644 --- a/python-Mako.changes +++ b/python-Mako.changes @@ -1,3 +1,32 @@ +------------------------------------------------------------------- +Tue Sep 3 08:20:48 UTC 2013 - dmueller@suse.com + +- 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] + ------------------------------------------------------------------- Tue Jun 25 11:58:53 UTC 2013 - dmueller@suse.com diff --git a/python-Mako.spec b/python-Mako.spec index fb582bc..f3f66e3 100644 --- a/python-Mako.spec +++ b/python-Mako.spec @@ -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}