python3-mako: upgrade 1.3.6 -> 1.3.8

Changelog:
===========
- [bug] [lexer] Reverted the fix for #140 released in Mako 1.3.7 as it produced
  regressions in existing user code.
- [bug] [codegen] [lexer] 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.
- [bug] [lexer] 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.

(From OE-Core rev: 76e1577b99b4319a9ea45fa4fb2b07d849f35f68)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu
2024-12-23 17:10:54 +08:00
committed by Richard Purdie
parent d6969fa35d
commit 6db1cd6a23

View File

@@ -0,0 +1,36 @@
SUMMARY = "Templating library for Python"
HOMEPAGE = "http://www.makotemplates.org/"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d0995d6f7ba3f186a03118f244e88f57"
PYPI_PACKAGE = "mako"
inherit pypi python_setuptools_build_meta ptest
SRC_URI:append = " \
file://run-ptest \
"
SRC_URI[sha256sum] = "577b97e414580d3e088d47c2dbbe9594aa7a5146ed2875d4dfa9075af2dd3cc8"
RDEPENDS:${PN} = "python3-html \
python3-markupsafe \
python3-misc \
python3-netclient \
python3-pygments \
python3-threading \
"
RDEPENDS:${PN}-ptest += "\
python3-pytest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/test
install -m 0644 ${S}/setup.cfg ${D}${PTEST_PATH}/
cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/
}
BBCLASSEXTEND = "native nativesdk"