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:
committed by
Git OBS Bridge
parent
5997fdf354
commit
ea29564d89
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user