From 9b9c9eed685598a27af84bfecfddbd4c2e8389a3 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 12 Jun 2024 10:58:07 +0800 Subject: python3-tomlkit: upgrade 0.12.3 -> 0.12.5 Changelog: ============ - Remove the extra minus sign added to the float value after calculation. - Fix unexpected newline added after accessing the out-of-order table. - Support | and |= operator for tables, and support + and += operator for arrays. - Fix an index error when setting dotted keys in a table. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-tomlkit_0.12.5.bb | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tomlkit_0.12.5.bb (limited to 'meta-python/recipes-devtools/python/python3-tomlkit_0.12.5.bb') diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.5.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.5.bb new file mode 100644 index 0000000000..f5612a18db --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.5.bb @@ -0,0 +1,32 @@ +SUMMARY = "Style preserving TOML library" +HOMEPAGE = "https://pypi.org/project/tomlkit/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" + +SRC_URI[sha256sum] = "eef34fba39834d4d6b73c9ba7f3e4d1c417a4e56f89a7e96e090dd0d24b8fb3c" + +inherit pypi python_poetry_core ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-profile \ + python3-stringold \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-poetry-core \ + python3-pytest \ + python3-pyyaml \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf