summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-01-06 17:23:19 +0200
committerKhem Raj <raj.khem@gmail.com>2025-01-06 07:25:19 -0800
commitf316a559f4448f5478629fe144a04a831468c5da (patch)
tree061fe8e001dc672168a130d976e4ae27ee5779c8 /meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb
parent657396146a63ae6e6ddeece510321c93734cb486 (diff)
downloadmeta-openembedded-f316a559f4448f5478629fe144a04a831468c5da.tar.gz
python3-tomli-w: Upgrade 1.0.0 -> 1.1.0
Upgrade to release 1.1.0: - Accept generic collections.abc.Mapping, not just dict, as input. - indent keyword argument for customizing indent width of arrays. - Type annotate dump function's output stream object as typing.IO[bytes] (previously typing.BinaryIO) 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.1.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb
new file mode 100644
index 0000000000..dded2cbf42
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb
@@ -0,0 +1,34 @@
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 = "179105660c367874818f2cdd1e06ed98eea668f1"
7PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master"
8
9inherit pypi python_flit_core ptest
10
11S = "${WORKDIR}/git"
12
13SRC_URI += " \
14 file://run-ptest \
15"
16
17RDEPENDS:${PN}-ptest += " \
18 python3-pytest \
19 python3-tomli \
20 python3-unittest-automake-output \
21"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 install -d ${D}${PTEST_PATH}/benchmark
26 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
27 cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/
28}
29
30RDEPENDS:${PN} += " \
31 python3-datetime \
32 python3-numbers \
33 python3-stringold \
34"