diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-08-01 15:41:52 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-08-01 08:46:48 -0700 |
| commit | a8eb40a15083588420e533cf45fddc3f017af972 (patch) | |
| tree | a79b6694e8c083dfa83653a27e9c45bf3ca0a282 /meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb | |
| parent | c686662c54c184138519331a7fa08054d66bc513 (diff) | |
| download | meta-openembedded-a8eb40a15083588420e533cf45fddc3f017af972.tar.gz | |
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 <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-tomlkit_0.12.1.bb | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ | |||
| 1 | SUMMARY = "Style preserving TOML library" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/tomlkit/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "38e1ff8edb991273ec9f6181244a6a391ac30e9f5098e7535640ea6be97a7c86" | ||
| 7 | |||
| 8 | inherit pypi python_poetry_core ptest | ||
| 9 | |||
| 10 | SRC_URI += " \ | ||
| 11 | file://run-ptest \ | ||
| 12 | " | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | python3-datetime \ | ||
| 16 | python3-profile \ | ||
| 17 | python3-stringold \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS:${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-poetry-core \ | ||
| 22 | ${PYTHON_PN}-pytest \ | ||
| 23 | ${PYTHON_PN}-pyyaml \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install_ptest() { | ||
| 27 | install -d ${D}${PTEST_PATH}/tests | ||
| 28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 29 | } | ||
