diff mbox series

tomcli: add new recipe

Message ID 20260911112141.2673836-1-ross.burton@arm.com
State New
Headers show
Series tomcli: add new recipe | expand

Commit Message

Ross Burton Sept. 11, 2026, 11:21 a.m. UTC
tomcli is a CLI for working with TOML files.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../include/ptest-packagelists-meta-python.inc    |  1 +
 .../recipes-devtools/python/tomcli_0.10.1.bb      | 15 +++++++++++++++
 2 files changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/tomcli_0.10.1.bb
diff mbox series

Patch

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 6904b5b3d9..e4eae4ef43 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -129,6 +129,7 @@  PTESTS_FAST_META_PYTHON = "\
     python3-xmltodict \
     python3-xxhash \
     python3-yarl \
+    tomcli \
 "
 
 PTESTS_SLOW_META_PYTHON = "\
diff --git a/meta-python/recipes-devtools/python/tomcli_0.10.1.bb b/meta-python/recipes-devtools/python/tomcli_0.10.1.bb
new file mode 100644
index 0000000000..d219f820dd
--- /dev/null
+++ b/meta-python/recipes-devtools/python/tomcli_0.10.1.bb
@@ -0,0 +1,15 @@ 
+SUMMARY = "CLI for working with TOML files"
+HOMEPAGE = "https://tomcli.gtmx.me"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=3c5eb6b1eb58832012789763a45d051f"
+
+SRC_URI[sha256sum] = "0a27c685620b10a0f389b1d55dc66ea904054b178176d41440de55d296e1109d"
+
+inherit pypi python_flit_core ptest-python-pytest
+
+RDEPENDS:${PN} = "python3-click python3-tomlkit"
+
+# NOTE: There are lots of skips in the ptest from tomli and tomli_w
+# but we only care about the tomlkit backend.
+
+BBCLASSEXTEND = "native nativesdk"