[oe] [meta-python][PATCH v3] python3-dtschema: new package

Bartosz Golaszewski brgl at bgdev.pl
Mon Sep 23 16:47:22 UTC 2019


From: Bartosz Golaszewski <bgolaszewski at baylibre.com>

This adds a recipe for dtschema package developed by Rob Herring for
easy validation of YAML device-tree files in the linux kernel.

The version is current git as the only release so far - v0.1 - is old
and doesn't work with kernel's dt_binding_check make target.

Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
---
v1 -> v2:
- added PV

v2 -> v3:
- fixed PV: used SRCPV instead of SRCREV

Note: I'm already seeing patch 1/2 from v1 of this series in master-next
so I'm only resending this one.

 .../python/python3-dt-schema_git.bb               | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-dt-schema_git.bb

diff --git a/meta-python/recipes-devtools/python/python3-dt-schema_git.bb b/meta-python/recipes-devtools/python/python3-dt-schema_git.bb
new file mode 100644
index 000000000..06a9012ca
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-dt-schema_git.bb
@@ -0,0 +1,15 @@
+SUMMARY = "Tooling for devicetree validation using YAML and jsonschema"
+AUTHOR = "Rob Herring"
+
+LICENSE = "BSD-2-Clause"
+LIC_FILES_CHKSUM = "file://setup.py;beginline=2;endline=3;md5=c795d4924c5f739424fa8d9b569c6659"
+
+inherit setuptools3
+
+SRC_URI = "git://github.com/robherring/dt-schema.git"
+SRCREV = "5009e47c1c76e48871f5988e08dad61f3c91196b"
+PV = "0.1+git${SRCPV}"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} = "python3-jsonschema python3-ruamel-yaml"
-- 
2.23.0



More information about the Openembedded-devel mailing list