14
0
forked from pool/python-Mako
Commit Graph

3 Commits

Author SHA256 Message Date
Sascha Peilicke
0d63d35623 - Update to version 0.5.0:
* A Template is explicitly disallowed from having a url that
    normalizes to relative outside of the root. [ticket:174]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=4
2011-11-10 10:54:38 +00:00
Sascha Peilicke
52b4b6e362 - Added python-nose BuildRequires for testsuite and packages make-render
binary

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=2
2011-09-01 14:11:57 +00:00
Sascha Peilicke
721384684b - Update to version 0.4.2:
* Fixed bug regarding <%call>/def calls w/ content whereby the identity
    of the "caller" callable inside the <%def> would be corrupted by the
    presence of another <%call> in the same block. [ticket:170]
  * Fixed the babel plugin to accommodate <%block> [ticket:169]
- Simpler spec file

- Update to 0.3.4
  - Now using MarkupSafe for HTML escaping,
    i.e. in place of cgi.escape().  Faster
    C-based implementation and also escapes
    single quotes for additional security.
    Supports the __html__ attribute for
    the given expression as well.
    When using "disable_unicode" mode,
    a pure Python HTML escaper function
    is used which also quotes single quotes.
    Note that Pylons by default doesn't
    use Mako's filter - check your
    environment.py file.
  - Fixed call to "unicode.strip" in
    exceptions.text_error_template which
    is not Py3k compatible.  [ticket:137]

- Update to 0.2.5
  - Added a "decorator" kw argument to <%def>, allows custom decoration
    functions to wrap rendering callables.  Mainly intended for custom caching
    algorithms, not sure what other uses there may be (but there may be).
    Examples are in the "filtering" docs.
  - When Mako creates subdirectories in which to store templates, it uses the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=1
2011-09-01 14:06:20 +00:00