forked from pool/python-Mako
- update to 1.3.0:
* Mako 1.3.0 bumps the minimum Python version to 3.8
* Python 3.12 is now supported explicitly.
- Update to 1.2.4
correctly interpret quoted sections individually
* Fixed some issues with running the test suite which would
be revealed by running tests in random order.
- Use libalternatives instead of update-alternatives.
emit warnings under Python 3.10.
* The default template encoding is now utf-8
- update to 1.0.8
- fix up build for SLE11
- python3 package added
- 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
- 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,
- Added class-level flag to CacheImpl "pass_context"; when True,
the keyword argument 'context' will be passed to
- 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
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=99
This commit is contained in:
@@ -24,14 +24,14 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-Mako
|
||||
Version: 1.2.4
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: A Python templating language
|
||||
License: MIT
|
||||
URL: https://www.makotemplates.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
|
||||
BuildRequires: %{python_module MarkupSafe >= 0.9.2}
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pbr}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
|
||||
Reference in New Issue
Block a user