Skip to contentSkip to conversation

tomcli: add new recipe

PATCH New Ross Burton 1 participant 1 message Sep 11

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tomcli: add new recipe

tomcli is a CLI for working with TOML files.

---
 .../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
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
index 6904b5b3d9..e4eae4ef43 100644
@@ -129,6 +129,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-xmltodict \
     python3-xxhash \
     python3-yarl \
+    tomcli \
 "
 
 PTESTS_SLOW_META_PYTHON = "\
meta-python/recipes-devtools/python/tomcli_0.10.1.bb new file +15 -0
new file mode 100644
index 0000000000..d219f820dd
@@ -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"
Signature · 1 line
2.43.0