From a8eb40a15083588420e533cf45fddc3f017af972 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 1 Aug 2023 15:41:52 +0800 Subject: python3-tomlkit: upgrade 0.11.8 -> 0.12.1 Changelog: ======== Make float and int hashable. Allow users to specify encoders for custom types. Fix the incorrect sort when building a table with dotted keys. Complete the methods required for integer and float items. Replace the deprecated usage of datetime.utcnow(). Minor performance improvements when iterating over the escape sequences. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-tomlkit_0.11.8.bb | 29 ---------------------- .../python/python3-tomlkit_0.12.1.bb | 29 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 29 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb create mode 100644 meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb deleted file mode 100644 index 5ec7e6e9af..0000000000 --- a/meta-python/recipes-devtools/python/python3-tomlkit_0.11.8.bb +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "Style preserving TOML library" -HOMEPAGE = "https://pypi.org/project/tomlkit/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" - -SRC_URI[sha256sum] = "9330fc7faa1db67b541b28e62018c17d20be733177d290a13b24c62d1614e0c3" - -inherit pypi python_poetry_core ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN} += " \ - python3-datetime \ - python3-profile \ - python3-stringold \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-poetry-core \ - ${PYTHON_PN}-pytest \ - ${PYTHON_PN}-pyyaml \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb new file mode 100644 index 0000000000..e86a3c7898 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb @@ -0,0 +1,29 @@ +SUMMARY = "Style preserving TOML library" +HOMEPAGE = "https://pypi.org/project/tomlkit/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" + +SRC_URI[sha256sum] = "38e1ff8edb991273ec9f6181244a6a391ac30e9f5098e7535640ea6be97a7c86" + +inherit pypi python_poetry_core ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-profile \ + python3-stringold \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-poetry-core \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pyyaml \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf