python3-mako: upgrade 1.3.8 -> 1.3.9

License-Update: Copyright year updated to 2025.

Fixed test suite to not rely upon ancient "future division" statement to
test the Template.future_imports feature.

(From OE-Core rev: 3c35df03ffb394022af16e8551b18d0015b3d657)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wang Mingyu
2025-02-18 15:39:23 +08:00
committed by Richard Purdie
parent 3ecaa6717f
commit d9abc8dc8f

View File

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