All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][PATCH v3] python3-dtschema: new package
@ 2019-09-23 16:47 Bartosz Golaszewski
  0 siblings, 0 replies; only message in thread
From: Bartosz Golaszewski @ 2019-09-23 16:47 UTC (permalink / raw)
  To: Khem Raj, Tim Orling, Derek Straka
  Cc: Bartosz Golaszewski, openembedded-devel

From: Bartosz Golaszewski <bgolaszewski@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@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-09-23 16:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-23 16:47 [meta-python][PATCH v3] python3-dtschema: new package Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.