./devel/py-mako, Hyperfast and lightweight templating for the Python platform

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3.8, Package name: py312-mako-1.3.8, Maintainer: pkgsrc-users

Mako is a template library written in Python. It provides a familiar, non-XML
syntax which compiles into Python modules for maximum performance. Mako's
syntax and API borrows from the best ideas of many others, including Django
templates, Cheetah, Myghty, and Genshi. Conceptually, Mako is an embedded
Python (i.e. Python Server Page) language, which refines the familiar ideas of
componentized layout and inheritance to produce one of the most straightforward
and flexible models available, while also maintaining close ties to Python
calling and scoping semantics.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 382.88 KB

Version history: (Expand)


CVS history: (Expand)


   2024-12-26 12:51:26 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-mako: update to 1.3.8.

.. changelog::
    :version: 1.3.8
    :released: Sat Dec 7 2024

    .. change::
        :tags: bug, lexer
        :tickets: 415, 140

        Reverted the fix for :ticket:`140` released in Mako 1.3.7 as it produced
        regressions in existing user code.

.. changelog::
    :version: 1.3.7 (yanked)
    :released: Tue Dec 3 2024

    .. change::
        :tags: bug, lexer, codegen
        :tickets: 140

        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.

    .. change::
        :tags: bug, lexer
        :tickets: 400, 401

        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.
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-05-15 09:59:03 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.3.5

1.3.5

bug

[bug] [lexer] [regression]

Reverted the fix for #400 as it caused new issues when traversing some bracketed \ 
situations.
   2024-04-18 11:03:24 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-mako: update to 1.3.3.

    :version: 1.3.3
    :released: Wed Apr 10 2024

    .. change::
        :tags: bug, codegen
        :tickets: 146

        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.
        Pull request courtesy Hai Zhu.

    .. change::
        :tags: bug, parser
        :tickets: 320

        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.
        Pull request courtesy Hai Zhu.
   2024-02-02 09:12:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.3.2

1.3.2

bug

[bug] [lexer]

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. Pull request courtesy Hai Zhu.
   2024-01-23 11:17:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.3.1

1.3.1

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. Pull request courtesy Hai Zhu.
   2023-11-13 12:17:03 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-mako: update to 1.3.0.

Mako 1.3.0 bumps the minimum Python version to 3.8, as 3.7 is EOL as of
2023-06-27.   Python 3.12 is now supported explicitly.
   2022-11-16 14:55:36 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-mako: updated to 1.2.4

1.2.4
Fixed issue where unpacking nested tuples in a for loop using would raise a
"couldn't apply loop context" error if the loop context was used. The regex
used to match the for loop expression now allows the list of loop variables
to contain parenthesized sub-tuples. Pull request courtesy Matt Trescott.