From 6db1cd6a2376477947c3f8822052b1b07d42ea2e Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 23 Dec 2024 17:10:54 +0800 Subject: 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 Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-mako_1.3.8.bb | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-mako_1.3.8.bb (limited to 'meta/recipes-devtools/python/python3-mako_1.3.8.bb') diff --git a/meta/recipes-devtools/python/python3-mako_1.3.8.bb b/meta/recipes-devtools/python/python3-mako_1.3.8.bb new file mode 100644 index 0000000000..53e95ae445 --- /dev/null +++ b/meta/recipes-devtools/python/python3-mako_1.3.8.bb @@ -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" -- cgit v1.2.3-54-g00ecf