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

Bartosz Golaszewski brgl at bgdev.pl
Mon Sep 23 16:33:24 UTC 2019


pon., 23 wrz 2019 o 18:25 Khem Raj <raj.khem at gmail.com> napisał(a):
>
>
>
> On Mon, Sep 23, 2019 at 8:58 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>
>> ---
>> 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
>>
>> 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..831b8fb8d
>> --- /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${SRCREV}"
>
>
> It should be SRCPV
>>

Sorry, my bad.

Resending v3.

Bart

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


More information about the Openembedded-devel mailing list