Package Release Info

python-Mako-1.0.7-bp152.2.16

Update Info: Base Release
Available in Package Hub : 15 SP2

platforms

AArch64
ppc64le
s390x
x86-64

subpackages

python2-Mako

Change Logs

* Tue Jul 29 2014 dmueller@suse.com
- fix up build for SLE11
* Fri Jul 18 2014 toddrme2178@gmail.com
- Update to version 1.0.0
  + Too many changes; please look at changelog in package documentation
* Thu Mar 06 2014 speilicke@suse.com
- Only suggest Beaker, it's an extra requirement and not really needed
* Mon Jan 13 2014 dmueller@suse.com
- update to 0.9.1:
  - [bug] Fixed bug in Babel plugin where translator comments
    would be lost if intervening text nodes were encountered.
    Fix courtesy Ned Batchelder.  [ticket:225]
  - [bug] Fixed TGPlugin.render method to support unicode template
    names in Py2K - courtesy Vladimir Magamedov.
  - [bug] Fixed an AST issue that was preventing correct operation
    under alpha versions of Python 3.4.  Pullreq courtesy Zer0-.
  - [bug] Changed the format of the "source encoding" header output
    by the code generator to use the format ``# -*- coding:%s -*-``
    instead of ``# -*- encoding:%s -*-``; the former is more common
    and compatible with emacs.  Courtesy Martin Geisler.
  - [bug] Fixed issue where an old lexer rule prevented a template line
    which looked like "#*" from being correctly parsed.  [ticket:224]
* Tue Sep 03 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 2013 dmueller@suse.com
- update to 0.8.1:
  - [bug] Changed setup.py to skip installing markupsafe
  if Python version is < 2.6 or is between 3.0 and
  less than 3.3, as Markupsafe now only supports 2.6->2.X,
  3.3->3.X. [ticket:216]
  - [bug] Fixed regression where "entity" filter wasn't
  converted for py3k properly (added tests.)
  [ticket:214]
  - [bug] Fixed bug where mako-render script wasn't
  compatible with Py3k.  [ticket:212]
  - [bug] Cleaned up all the various deprecation/
  file warnings when running the tests under
  various Pythons with warnings turned on.
  [ticket:213]
  - [feature] Performance improvement to the
  "legacy" HTML escape feature, used for XML
  escaping and when markupsafe isn't present,
  courtesy George Xie.
  - [bug] Fixed bug whereby an exception in Python 3
  against a module compiled to the filesystem would
  fail trying to produce a RichTraceback due to the
  content being in bytes. [ticket:209]
  - [bug] Change default for compile()->reserved_names
  from tuple to frozenset, as this is expected to be
  a set by default.  [ticket:208]
  - [feature] Code has been reworked to support Python 2.4->
  Python 3.xx in place.  2to3 no longer needed.
  - [feature] Added lexer_cls argument to Template,
  TemplateLookup, allows alternate Lexer classes
  to be used.
  - [feature] Added future_imports parameter to Template
  and TemplateLookup, renders the __future__ header
  with desired capabilities at the top of the generated
  template module.  Courtesy Ben Trofatter.
* Thu Nov 22 2012 saschpe@suse.de
- Update to version 0.7.3:
  + [bug] legacy_html_escape function, used when
    Markupsafe isn't installed, was using an inline-compiled
    regexp which causes major slowdowns on Python 3.3;
    is now precompiled.
  + [bug] AST supporting now supports tuple-packed
    function arguments inside pure-python def
    or lambda expressions.
  + [bug] Fixed Py3K bug in the Babel extension.
  + [bug] Fixed the "filter" attribute of the
    <%text> tag so that it pulls locally specified
    identifiers from the context the same
    way as that of <%block> and <%filter>.
  + [bug] Fixed bug in plugin loader to correctly
    raise exception when non-existent plugin
    is specified.
- Changes from version 0.7.2:
  + [bug] Fixed regression in 0.7.1 where AST
    parsing for Py2.4 was broken.
- Changes from version 0.7.1:
  + [feature] Control lines with no bodies will
    now succeed, as "pass" is added for these
    when no statements are otherwise present.
  + [bug] Fixed some long-broken scoping behavior
    involving variables declared in defs and such,
    which only became apparent when
    the strict_undefined flag was turned on.
  + [bug] Can now use strict_undefined at the
    same time args passed to def() are used
    by other elements of the <%def> tag.
- Don't give the Python2 binary the prefix "python3"
* Fri May 25 2012 toddrme2178@gmail.com
- Fix building on openSUSE 11.4
- spec file cleanups
* Wed May 23 2012 highwaystar.ru@gmail.com
- python3 package added
- Update to 0.7.0
  - Added new "loop" variable to templates, is provided within a %
    for block to provide info about the loop such as index,
    first/last, odd/even, etc.  A migration path is also provided
    for legacy templates via the "enable_loop" argument available
    on Template, TemplateLookup, and <%page>.
  - Added a real check for "reserved" names, that is names which
    are never pulled from the context and cannot be passed to the
    template.render() method.  Current names are "context", "loop",
    "UNDEFINED".
  - The html_error_template() will now apply Pygments highlighting
    to the source code displayed in the traceback, if Pygments if
    available.
  - Added support for context managers,
    i.e. "% with x as e:/ % endwith" support.
  - Added class-level flag to CacheImpl "pass_context"; when True,
    the keyword argument 'context' will be passed to
    get_or_create() containing the Mako Context object.
  - Added Jinja2 to the example benchmark suite
  - Bugfixes
- Update to 0.6.2
  - Bugfixes
- Update to 0.6.1
  - Bugfixes
- Update to 0.6.0
  - Template caching has been converted into a plugin system,
    whereby the usage of Beaker is just the default plugin.
    Template and TemplateLookup now accept a string "cache_impl"
    parameter which refers to the name of a cache plugin,
    defaulting to the name 'beaker'. New plugins can be registered
    as pkg_resources entrypoints under the group "mako.cache", or
    registered directly using mako.cache.register_plugin().  The
    core plugin is the mako.cache.CacheImpl class.
  - Added support for Beaker cache regions in templates. Usage of
    regions should be considered as superseding the very obsolete
    idea of passing in backend options, timeouts, etc. within
    templates.
  - The 'put' method on Cache is now 'set'. 'put' is there for
    backwards compatibility.
  - The <%def>, <%block> and <%page> tags now accept any argument
    named "cache_*", and the key minus the "cache_" prefix will be
    passed as keyword arguments to the CacheImpl methods.
  - Template and TemplateLookup now accept an argument cache_args,
    which refers to a dictionary containing cache parameters. The
    cache_dir, cache_url, cache_type, cache_timeout arguments are
    deprecated (will probably never be removed, however) and can be
    passed now as cache_args={'url':<some url>, 'type':'memcached',
    'timeout':50, 'dir':'/path/to/some/directory'}
  - Can now refer to context variables within extra arguments to
    <%block>, <%def>,
    i.e. <%block name="foo" cache_key="${somekey}">. Filters can
    also be used in this way,
    i.e. <%def name="foo()" filter="myfilter"> then
    template.render(myfilter=some_callable)
  - Added "--var name=value" option to the mako-render script,
    allows passing of kw to the template from the command line.
  - Added module_writer argument to Template, TemplateLookup,
    allows a callable to be passed which takes over the writing of
    the template's module source file, so that special
    environment-specific steps can be taken.
  - Bugfixes
* Thu Nov 10 2011 saschpe@suse.de
- 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]
Version: 1.0.7-1.24
* Mon Aug 21 2017 tbechtold@suse.com
- update to 1.0.7:
  * Changed the "print" in the mako-render command to
    sys.stdout.write(), avoiding the extra newline at the end
    of the template output.
* Sat May 06 2017 toddrme2178@gmail.com
- Don't provide python2-mako, singlespec packages should use
  correct name.
* Tue Apr 11 2017 jengelh@inai.de
- Trim extreme wording of description
* Thu Apr 06 2017 jmatejek@suse.com
- restore compatibility Provides
* Wed Mar 01 2017 aloisio@gmx.com
- Converted to single-spec
- Switched source URL to pypi.io
- Removed update-alternative
* Fri Feb 10 2017 michael@stroeder.com
- update to version 1.0.6
  * [feature] Added new parameter Template.include_error_handler .
    This works like Template.error_handler but indicates the
    handler should take place when this template is included within
    another template via the <%include> tag. Pull request courtesy
    Huayi Zhang.
  * [bug] Updated the Sphinx documentation builder to work with recent
    versions of Sphinx.
* Wed Nov 16 2016 tbechtold@suse.com
- python-Beaker is only recommended, not required.
* Fri Sep 16 2016 toddrme2178@gmail.com
- update to version 1.0.4:
  * [test] [feature] The default test runner is now py.test. Running
    ?python setup.py test? will make use of py.test instead of
    nose. nose still works as a test runner as well, however.
  * [lexer] [bug] Major improvements to lexing of intricate Python
    sections which may contain complex backslash sequences, as well as
    support for the bitwise operator (e.g. pipe symbol) inside of
    expression sections distinct from the Mako ?filter? operator,
    provided the operator is enclosed within parentheses or
    brackets. Pull request courtesy Daniel Martin.
  * [feature] Added new method Template.list_defs(). Pull request
    courtesy Jonathan Vanasco.
- update to version 1.0.3:
  * Fixed an issue where the Babel plugin would not handle a
    translation symbol that contained non-ascii characters. Pull
    request courtesy Roman Imankulov.
- Update to version 1.0.2
  * The "universal wheel" marker is removed from setup.cfg, because
    our setup.py currently makes use of conditional dependencies.
    In :ticket:`249`, the discussion is ongoing on how to correct our
    setup.cfg / setup.py fully so that we can handle the per-version
    dependency changes while still maintaining optimal wheel settings,
    so this issue is not yet fully resolved.
  * Repair some calls within the ast module that no longer work on Python3.5;
    additionally replace the use of ``inspect.getargspec()`` under
    Python 3 (seems to be called from the TG plugin) to avoid deprecation
    warnings.
  * Update the Lingua translation extraction plugin to correctly
    handle templates mixing Python control statements (such as if,
    for and while) with template fragments. Pull request courtesy
    Laurent Daverio.
  * Added ``STOP_RENDERING`` keyword for returning/exiting from a
    template early, which is a synonym for an empty string ``""``.
    Previously, the docs suggested a bare
    ``return``, but this could cause ``None`` to appear in the
    rendered template result.
- Implement update-alternatives
* Fri Jul 24 2015 seife+obs@b1-systems.com
- fix non-SUSE distro build by conditionalizing Suggests: tag
* Fri Mar 13 2015 p.drouand@gmail.com
- update to version 1.0.1:
  * [feature] Added support for Lingua, a translation extraction
    system as an alternative to Babel. Pull request courtesy Wichert
    Akkerman.
  * [bug] [py3k] Modernized the examples/wsgi/run_wsgi.py file for
    Py3k. Pull requset courtesy Cody Taylor.
- Disable temporary tests for non-Factory systems because of failures
Version: 1.0.7-150000.3.3.1
* Mon Sep 12 2022 mcepl@suse.com
- add CVE-2022-40023-RE-DoS-Lexer.patch to fix bsc#1203246
  (CVE-2022-40023) by fixing the tag regexp to match quoted
  groups correctly.