forked from pool/python-Mako
Compare commits
10 Commits
Author | SHA256 | Date | |
---|---|---|---|
4a6836a5e2 | |||
0af7adafab | |||
c446cf9bce | |||
24f758c0db | |||
088ecdfaa4 | |||
baaf2e48c5 | |||
0edeca3965 | |||
fd09a6b71d | |||
cdf8b2b567 | |||
6c4f869bee |
BIN
Mako-1.3.5.tar.gz
(Stored with Git LFS)
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
BIN
mako-1.3.10.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,49 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 5 04:38:01 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
Tue Jun 4 21:03:46 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Mako
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -24,21 +24,22 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Mako
|
Name: python-Mako
|
||||||
Version: 1.3.5
|
Version: 1.3.10
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Python templating language
|
Summary: A Python templating language
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://www.makotemplates.org/
|
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 MarkupSafe >= 0.9.2}
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module pbr}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros >= 20210929
|
BuildRequires: python-rpm-macros >= 20210929
|
||||||
Requires: python-MarkupSafe >= 0.9.2
|
Requires: python-MarkupSafe >= 0.9.2
|
||||||
Requires: python-setuptools
|
|
||||||
%if %{with libalternatives}
|
%if %{with libalternatives}
|
||||||
Requires: alts
|
Requires: alts
|
||||||
BuildRequires: alts
|
BuildRequires: alts
|
||||||
@@ -62,13 +63,13 @@ inheritance, while maintaining close ties to Python calling and
|
|||||||
scoping semantics.
|
scoping semantics.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Mako-%{version}
|
%setup -q -n mako-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/mako-render
|
%python_clone -a %{buildroot}%{_bindir}/mako-render
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@@ -91,6 +92,6 @@ scoping semantics.
|
|||||||
%doc examples
|
%doc examples
|
||||||
%python_alternative %{_bindir}/mako-render
|
%python_alternative %{_bindir}/mako-render
|
||||||
%{python_sitelib}/mako/
|
%{python_sitelib}/mako/
|
||||||
%{python_sitelib}/Mako-%{version}-py*.egg-info
|
%{python_sitelib}/[Mm]ako-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user