Skip to contentSkip to conversation

python3-dtschema: new package

PATCH Superseded Bartosz Golaszewski 2 participants 3 messages Sep 23, 2019

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 python3-dtschema: new package

From: Bartosz Golaszewski <[email protected]>

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.

---
v1 -> v2:
- added PV

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
meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file +15 -0
new file mode 100644
index 000000000..831b8fb8d
@@ -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${SRCREV}"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} = "python3-jsonschema python3-ruamel-yaml"
Signature · 1 line
2.23.0
#1 lore raw
Quoted 34 lines · Bartosz Golaszewski

From: Bartosz Golaszewski <[email protected]>

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.

---
v1 -> v2:
- added PV

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

meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file +5 -0
new file mode 100644
index 000000000..831b8fb8d
@@ -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"

meta-python/recipes-devtools/python/python3-dt-schema_git.bb line 11

Quoted 6 lines
meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file +6 -0
+
+inherit setuptools3
+
+SRC_URI = "git://github.com/robherring/dt-schema.git"
+SRCREV = "5009e47c1c76e48871f5988e08dad61f3c91196b"
+PV = "0.1+git${SRCREV}"

It should be SRCPV

Quoted 9 lines
meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file +4 -1
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} = "python3-jsonschema python3-ruamel-yaml"
--

2.23.0

#2 lore raw

pon., 23 wrz 2019 o 18:25 Khem Raj <[email protected]> napisał(a):

Quoted 37 lines · Bartosz Golaszewski
Quoted 33 lines

From: Bartosz Golaszewski <[email protected]>

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.

---
v1 -> v2:
- added PV

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
meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file +6 -0
new file mode 100644
index 000000000..831b8fb8d
@@ -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"
+
Quoted 9 lines

meta-python/recipes-devtools/python/python3-dt-schema_git.bb line 11

Quoted 5 lines
meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file +5 -0
+inherit setuptools3
+
+SRC_URI = "git://github.com/robherring/dt-schema.git"
+SRCREV = "5009e47c1c76e48871f5988e08dad61f3c91196b"
+PV = "0.1+git${SRCREV}"

It should be SRCPV

Quoted 1 line

Sorry, my bad.

Resending v3.

Bart

Quoted 8 lines
Quoted 8 lines
meta-python/recipes-devtools/python/python3-dt-schema_git.bb new file +4 -1
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} = "python3-jsonschema python3-ruamel-yaml"
--

2.23.0