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

Khem Raj raj.khem at gmail.com
Mon Sep 23 15:30:24 UTC 2019


On Mon, Sep 23, 2019 at 3:01 AM Bartosz Golaszewski <brgl at bgdev.pl> wrote:
>
> 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>
> ---
>  .../python/python3-dt-schema_git.bb                | 14 ++++++++++++++
>  1 file changed, 14 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..d2b4ae1f3
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-dt-schema_git.bb
> @@ -0,0 +1,14 @@
> +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"

its missing PV

> +
> +S = "${WORKDIR}/git"
> +
> +RDEPENDS_${PN} = "python3-jsonschema python3-ruamel-yaml"
> --
> 2.23.0
>


More information about the Openembedded-devel mailing list