Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python2-Mako-1.0.7-lp150.1.7 RPM for noarch

From OpenSuSE Leap 15.0 for noarch

Name: python2-Mako Distribution: openSUSE Leap 15.0
Version: 1.0.7 Vendor: openSUSE
Release: lp150.1.7 Build date: Mon Aug 21 14:00:00 2017
Group: Development/Languages/Python Build host: lamb13
Size: 594380 Source RPM: python-Mako-1.0.7-lp150.1.7.src.rpm
Summary: A Python templating language
Mako is a template library written in Python. It provides a non-XML
syntax which compiles into Python modules for performance. Mako's
syntax and API borrows from Django templates, Cheetah, Myghty, and
Genshi. Conceptually, Mako is an embedded Python (i.e. Python Server
Page) language, which refines the ideas of componentized layout and
inheritance, while maintaining close ties to Python calling and
scoping semantics.






* Mon Aug 21 2017
  - 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
  - Don't provide python2-mako, singlespec packages should use
    correct name.
* Tue Apr 11 2017
  - Trim extreme wording of description
* Thu Apr 06 2017
  - restore compatibility Provides
* Wed Mar 01 2017
  - Converted to single-spec
  - Switched source URL to
  - Removed update-alternative
* Fri Feb 10 2017
  - 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
  - python-Beaker is only recommended, not required.
* Fri Sep 16 2016
  - update to version 1.0.4:
    * [test] [feature] The default test runner is now py.test. Running
      “python 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 currently makes use of conditional dependencies.
      In :ticket:`249`, the discussion is ongoing on how to correct our
      setup.cfg / 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
    * 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
  - fix non-SUSE distro build by conditionalizing Suggests: tag
* Fri Mar 13 2015
  - update to version 1.0.1:
    * [feature] Added support for Lingua, a translation extraction
      system as an alternative to Babel. Pull request courtesy Wichert
    * [bug] [py3k] Modernized the examples/wsgi/ file for
      Py3k. Pull requset courtesy Cody Taylor.
  - Disable temporary tests for non-Factory systems because of failures
* Tue Jul 29 2014
  - fix up build for SLE11
* Fri Jul 18 2014
  - Update to version 1.0.0
    + Too many changes; please look at changelog in package documentation
* Thu Mar 06 2014
  - Only suggest Beaker, it's an extra requirement and not really needed
* Mon Jan 13 2014
  - 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
  - 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().
    - [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.
    - [bug] Using <%namespace import="*" module="somemodule"/> now
      skips over module elements that are not explcitly callable,
      avoiding TypeError when trying to produce partials.
    - [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
  - update to 0.8.1:
    - [bug] Changed 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.)
    - [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.
    - [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
  - 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
  - Fix building on openSUSE 11.4
  - spec file cleanups
* Wed May 23 2012
  - 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",
    - The html_error_template() will now apply Pygments highlighting
      to the source code displayed in the traceback, if Pygments if
    - 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
    - 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
    - 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
  - 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]
* Thu Sep 01 2011
  - Added python-nose BuildRequires for testsuite and packages make-render
* Thu Sep 01 2011
  - 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
* Thu Jul 01 2010
  - 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 file.
    - Fixed call to "unicode.strip" in
      exceptions.text_error_template which
      is not Py3k compatible.  [ticket:137]
* Tue Sep 08 2009
  - 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
      more permissive mode of 0775 instead of 0750, helping out with certain
      multi-process scenarios. Note that the mode is always subject to the
      restrictions of the existing umask. [ticket:101]
    - Fixed namespace.__getattr__() to raise AttributeError on attribute not
      found instead of RuntimeError.  [ticket:104]
    - Added last_modified accessor to Template, returns the time.time() when the
      module was created. [ticket:97]
    - Fixed lexing support for whitespace around '=' sign in defs. [ticket:102]
    - Removed errant "lower()" in the lexer which was causing tags to compile
      with case-insensitive names, thus messing up custom <%call> names.
    - added "mako.__version__" attribute to the base module.  [ticket:110]
* Thu Sep 03 2009
  - build as noarch
* Thu Sep 03 2009
  - importing package from OBS, original changelog follows
* Mon Aug 10 2009 Ciaran Farrell <> - 0.2.4-1
  - Update to 0.2.4



Generated by rpm2html 1.8.1

Fabrice Bellet, Sun May 10 06:23:30 2020