14
0
forked from pool/python-Mako

10 Commits

Author SHA256 Message Date
4a6836a5e2 Accepting request 1282928 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1282928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=61
2025-06-10 06:57:05 +00:00
0af7adafab - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=119
2025-06-05 04:41:19 +00:00
c446cf9bce Accepting request 1269360 from devel:languages:python
- update to 1.3.10:
  * Fix undefined variable errors when strict_undefined=True when
    using a nested list comprehension.

OBS-URL: https://build.opensuse.org/request/show/1269360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=60
2025-04-15 18:46:50 +00:00
24f758c0db - update to 1.3.10:
* Fix undefined variable errors when strict_undefined=True when
    using a nested list comprehension.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=117
2025-04-14 20:21:42 +00:00
088ecdfaa4 Accepting request 1244766 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1244766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=59
2025-02-11 20:20:38 +00:00
baaf2e48c5 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=115
2025-02-10 13:46:57 +00:00
0edeca3965 Accepting request 1230045 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1230045
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=58
2024-12-13 21:31:05 +00:00
fd09a6b71d Accepting request 1230021 from home:glaubitz:branches:devel:languages:python
- Update to 1.3.8
  * Reverted the fix for 🎫`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.

OBS-URL: https://build.opensuse.org/request/show/1230021
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=113
2024-12-11 09:54:51 +00:00
cdf8b2b567 Accepting request 1221950 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1221950
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Mako?expand=0&rev=57
2024-11-07 15:25:56 +00:00
6c4f869bee - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Mako?expand=0&rev=111
2024-11-06 20:19:11 +00:00
4 changed files with 58 additions and 11 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,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>

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,21 +24,22 @@
%{?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}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python-MarkupSafe >= 0.9.2
Requires: python-setuptools
%if %{with libalternatives}
Requires: alts
BuildRequires: alts
@@ -62,13 +63,13 @@ 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
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/mako-render
%python_expand %fdupes %{buildroot}%{$python_sitelib}
@@ -91,6 +92,6 @@ scoping semantics.
%doc examples
%python_alternative %{_bindir}/mako-render
%{python_sitelib}/mako/
%{python_sitelib}/Mako-%{version}-py*.egg-info
%{python_sitelib}/[Mm]ako-%{version}.dist-info
%changelog