summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-02-11 14:57:30 +0200
committerKhem Raj <raj.khem@gmail.com>2025-02-12 09:16:09 -0800
commit482abb2a6542b16fda6399fa4245af89796cce56 (patch)
treee0aa364ec5a2db5078590d53db38d7dd17da2ca8 /meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb
parentbd71da1a72aa4e88080b377eeb26733ec1a8f1ae (diff)
downloadmeta-openembedded-482abb2a6542b16fda6399fa4245af89796cce56.tar.gz
python3-tomli-w: Upgrade 1.1.0 -> 1.2.0
Upgrade to release 1.2.0: - Always preserve decimal.Decimal type in parse round trips - Better TypeError message on invalid mapping keys - Unify type representation in error messages - Improve import time by removing typing import - Improve import time by removing string import - Improve import time by lazy importing decimal Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb
new file mode 100644
index 0000000000..55b56616db
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.2.0.bb
@@ -0,0 +1,26 @@
1DESCRIPTION = "Tomli-W is a Python library for writing TOML. It is a write-only counterpart to Tomli, which is a read-only TOML parser."
2HOMEPAGE = "https://github.com/hukkin/tomli-w"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5"
5
6SRCREV = "a8f80172ba16fe694e37f6e07e6352ecee384c58"
7PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master"
8
9inherit pypi python_flit_core ptest-python-pytest
10
11S = "${WORKDIR}/git"
12
13RDEPENDS:${PN}-ptest += " \
14 python3-tomli \
15"
16
17do_install_ptest:append() {
18 install -d ${D}${PTEST_PATH}/benchmark
19 cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/
20}
21
22RDEPENDS:${PN} += " \
23 python3-datetime \
24 python3-numbers \
25 python3-stringold \
26"