Sync from SUSE:SLFO:Main python-Mako revision 7fffcbf526ebe990d480df1b7a37463c

This commit is contained in:
Adrian Schröter 2024-12-13 10:48:28 +01:00
parent 59e06b667d
commit ed82a242d0
4 changed files with 131 additions and 72 deletions

BIN
Mako-1.2.4.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
Mako-1.3.5.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,60 @@
-------------------------------------------------------------------
Tue Jun 4 21:03:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.5:
* Reverted the fix for :ticket:`400` as it caused new issues
when traversing some bracketed situations.
-------------------------------------------------------------------
Tue May 14 08:13:21 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.4:
* Fixed regression caused by the fix for :ticket:`320` where new
logic added to interpret list and dictionary comprehensions
would fail for expression oriented keys. As the parsing in
question was not necessary for these
keys, it's been removed.
* Fixed issue where a parsed expression which contained
sub-brackets, such as dictionary literals, would fail to be
interpreted correctly even though the
initial parsing is correct.
-------------------------------------------------------------------
Mon Apr 15 06:14:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.3:
* Fixed unexpected error when use control lines which the
first control block with no bodies other than comments,
as `pass` is now added to the first empty block.
* Fixed unexpected syntax error in strict_undefined mode that
occurred when using comprehensions within a function in a Mako
Python code block.
Now, the local variable in comprehensions won't be added to the
checklist when using strict_undefined mode.
-------------------------------------------------------------------
Thu Feb 1 10:09:39 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.2:
* Fixed parsing issue where attempting to render a single percent
sign % using an escaped percent %% would not function correctly
if the escaped percent were not the first character on a line.
Note that this is a revised version of a similar change made
in Mako 1.3.1 which caused unexpected parsing regressions,
resulting in the release being yanked.
-------------------------------------------------------------------
Thu Dec 7 22:09:49 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.3.0:
* Mako 1.3.0 bumps the minimum Python version to 3.8
* Python 3.12 is now supported explicitly.
-------------------------------------------------------------------
Thu Jun 15 12:06:44 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
- Use sle15_python_module_pythons
-------------------------------------------------------------------
Sat Dec 3 03:26:25 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
@ -25,7 +82,8 @@ Sun Sep 11 07:28:33 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.2.2:
* Fixed issue in lexer where the regexp used to match tags would not
correctly interpret quoted sections individually
correctly interpret quoted sections individually (CVE-2022-40023,
bsc#1203246)
-------------------------------------------------------------------
Mon Jul 18 13:39:44 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Mako
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,15 +22,16 @@
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-Mako
Version: 1.2.4
Version: 1.3.5
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}
@ -43,7 +44,7 @@ Requires: alts
BuildRequires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%endif
BuildArch: noarch
Recommends: python-Beaker >= 1.1