15
0
forked from pool/python-Mako

Accepting request 719500 from home:pgajdos

- version update to 1.0.14
  * The n filter is now supported in the <%page> tag. This allows a template to omit the default expression filters throughout a whole template, for those cases where a
    template-wide filter needs to have default filtering disabled.
  * Fixed issue where the correct file URI would not be shown in the template-formatted exception traceback if the template filename were not known. Additionally fixes an issue
    where stale filenames would be displayed if a stack trace alternated between different templates.
  * Improved the line-number tracking for source lines inside of Python <% ... %> blocks, such that text- and HTML-formatted exception traces such as that of
    html_error_template() now report the correct source line inside the block, rather than the first line of the block itself. Exceptions in <%! ... %> blocks which get raised
    while loading the module are still not reported correctly, as these are handled before the Mako code is generated.

OBS-URL: https://build.opensuse.org/request/show/719500
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=63
This commit is contained in:
Tomáš Chvátal
2019-07-29 08:41:32 +00:00
committed by Git OBS Bridge
parent 5997fdf354
commit ea29564d89
4 changed files with 19 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0cfa65de3a835e87eeca6ac856b3013aade55f49e32515f65d999f91a2324162
size 460108

3
Mako-1.0.14.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5a642d8c5699269ab62a68b296ff990767eb120f51e2e8f3d6afb16bdb57f4b
size 462343

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jul 29 07:36:52 UTC 2019 - pgajdos@suse.com
- version update to 1.0.14
* The n filter is now supported in the <%page> tag. This allows a template to omit the default expression filters throughout a whole template, for those cases where a
template-wide filter needs to have default filtering disabled.
* Fixed issue where the correct file URI would not be shown in the template-formatted exception traceback if the template filename were not known. Additionally fixes an issue
where stale filenames would be displayed if a stack trace alternated between different templates.
* Improved the line-number tracking for source lines inside of Python <% ... %> blocks, such that text- and HTML-formatted exception traces such as that of
html_error_template() now report the correct source line inside the block, rather than the first line of the block itself. Exceptions in <%! ... %> blocks which get raised
while loading the module are still not reported correctly, as these are handled before the Mako code is generated.
-------------------------------------------------------------------
Tue Jun 18 08:40:22 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -19,21 +19,22 @@
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Mako
Version: 1.0.12
Version: 1.0.14
Release: 0
Summary: A Python templating language
License: MIT
Group: Development/Languages/Python
URL: http://www.makotemplates.org/
Source: https://files.pythonhosted.org/packages/source/M/Mako/Mako-%{version}.tar.gz
BuildRequires: %{python_module MarkupSafe}
BuildRequires: %{python_module MarkupSafe >= 0.9.2}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pbr}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-MarkupSafe
Requires: python-MarkupSafe >= 0.9.2
Requires: python-setuptools
BuildArch: noarch
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
Recommends: python-Beaker >= 1.1