Sync from SUSE:SLFO:Main python-Mako revision 236238225aac87e9e0c00e73480c42d3

This commit is contained in:
2025-05-13 19:45:46 +02:00
parent ed82a242d0
commit 6c59207bbd
4 changed files with 48 additions and 7 deletions

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

Binary file not shown.

BIN
mako-1.3.10.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,44 @@
-------------------------------------------------------------------
Mon Apr 14 20:20:59 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.3.10:
* Fix undefined variable errors when strict_undefined=True when
using a nested list comprehension.
-------------------------------------------------------------------
Mon Feb 10 10:15:18 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.9
* [bug] [tests] Fixed test suite to not rely upon ancient "future division"
statement to test the Template.future_imports feature. The test is
replaced with one that tests only the rendering, not the ultimate effect.
-------------------------------------------------------------------
Wed Dec 11 08:28:32 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.8
* Reverted the fix for :ticket:`140` released in Mako 1.3.7 as it produced
regressions in existing user code.
- from version 1.3.7
* During the lexical analysis phase, add an additional prefix for undeclared
identifiers that have the same name as built-in flags, and determine the
final filter to be used during the code generation phase based on the
context provided by the user. Pull request by Hai Zhu.
* Support the direct passing of dictionary literals when calling functions
and fix the errors caused by nested braces. This revises the fix that was
released in 1.3.4 and then reverted in 1.3.5. Pull request by Hai Zhu and
Jose Galvez.
-------------------------------------------------------------------
Wed Nov 6 15:56:23 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.3.6
* Fixed long standing bug where the sequence <& would be misinterpreted
by the lexer. It's not clear why the ampersand character was part of
the characters being consumed here and it may have been an inadvertent
bit of code from one of Mako's predecessor languages.
- Adjust upstream source name in spec file
-------------------------------------------------------------------
Tue Jun 4 21:03:46 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Mako
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,12 +24,12 @@
%{?sle15_python_module_pythons}
Name: python-Mako
Version: 1.3.5
Version: 1.3.10
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
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.8}
BuildRequires: %{python_module pbr}
@@ -62,7 +62,7 @@ inheritance, while maintaining close ties to Python calling and
scoping semantics.
%prep
%setup -q -n Mako-%{version}
%setup -q -n mako-%{version}
%build
%python_build