Skip to contentSkip to conversation

python3-yamllint: Add recipe

PATCH Superseded Ryan Eatmon 3 participants 4 messages Jan 22, 2024 – Jan 23, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-yamllint: Add recipe

Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time.

There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version.

---
 .../python/python3-yamllint_1.33.0.bb             | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-yamllint_1.33.0.bb
meta/recipes-devtools/python/python3-yamllint_1.33.0.bb new file +15 -0
new file mode 100644
index 0000000000..4b7bd065f9
@@ -0,0 +1,15 @@
+SUMMARY = "A linter for YAML files."
+HOMEPAGE = "https://github.com/adrienverge/yamllint"
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464"
+
+inherit pypi setuptools3
+
+PYPI_PACKAGE = "yamllint"
+
+SRC_URI[sha256sum] = "2dceab9ef2d99518a2fcf4ffc964d44250ac4459be1ba3ca315118e4a1a81f7d"
+
+DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
+RDEPENDS:${PN} += "${PYTHON_PN}-pyyaml"
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1
#1 lore raw

Hi,

Le 22/01/2024 à 21:07, Ryan Eatmon via lists.openembedded.org a écrit :

Quoted 8 lines

Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time.

There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version.

Quoted 5 lines
---
 .../python/python3-yamllint_1.33.0.bb             | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python3-yamllint_1.33.0.bb

FYI, this new recipe lacks a maintainer and throw this warning :
WARNING: python3-yamllint-1.33.0-r0 do_recipe_qa: QA Issue: Recipe python3-yamllint in [...]/poky/meta/recipes-devtools/python/python3-yamllint_1.33.0.bb does not have an assigned maintainer. Please add an entry into meta/conf/distro/include/maintainers.inc. [missing-maintainer]

Regards,

Signature · 2 lines
Yoann Congal
Smile ECS - Tech Expert
#2 lore raw
Quoted 11 lines · Yoann Congal

Hi,

Le 22/01/2024 à 21:07, Ryan Eatmon via lists.openembedded.org a écrit :

Quoted 8 lines

Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time.

There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version.

Quoted 8 lines
Quoted 5 lines
---
  .../python/python3-yamllint_1.33.0.bb             | 15 +++++++++++++++
  1 file changed, 15 insertions(+)

create mode 100644 meta/recipes-devtools/python/python3-yamllint_1.33.0.bb

FYI, this new recipe lacks a maintainer and throw this warning :
WARNING: python3-yamllint-1.33.0-r0 do_recipe_qa: QA Issue: Recipe python3-yamllint in [...]/poky/meta/recipes-devtools/python/python3-yamllint_1.33.0.bb does not have an assigned maintainer. Please add an entry into meta/conf/distro/include/maintainers.inc. [missing-maintainer]

Tim,

Do you mind being the maintainer for this new python recipe? You are maintainer for many other python modules including pyyaml which this module depends on. I can submit a v2 updating that file as well if you are willing.

Quoted 1 line

Regards,

Signature · 3 lines
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
#3 lore raw
Quoted 29 lines · Ryan Eatmon via lists.openembedded.org
Quoted 14 lines · Yoann Congal

Hi,

Quoted 11 lines · Ryan Eatmon via lists.openembedded.org

Add recipe for yamllint. There is an upcoming change in u-boot where the binman tool is now configured to call yamllint to verify the configs during compile time.

There was a previous patch a year ago from Trevor Woerner that never made it into oe-core. This patch is a reworking of his patch but pointing to a newer version.

---
  .../python/python3-yamllint_1.33.0.bb             | 15

+++++++++++++++

Quoted 2 lines
Quoted 2 lines
  1 file changed, 15 insertions(+)

create mode 100644 meta/recipes-devtools/python/

python3-yamllint_1.33.0.bb

Quoted 3 lines

FYI, this new recipe lacks a maintainer and throw this warning :
WARNING: python3-yamllint-1.33.0-r0 do_recipe_qa: QA Issue: Recipe

python3-yamllint in [...]/poky/meta/recipes-devtools/python/ python3-yamllint_1.33.0.bb does not have an assigned maintainer. Please add an entry into meta/conf/distro/include/maintainers.inc. [missing-maintainer]

Quoted 7 lines

Tim,

Do you mind being the maintainer for this new python recipe? You are maintainer for many other python modules including pyyaml which this module depends on. I can submit a v2 updating that file as well if you are willing.

That’s fine with me.

—Tim

Quoted 20 lines
Quoted 3 lines

Regards,

--
Ryan Eatmon [email protected]
-----------------------------------------
Texas Instruments, Inc. - LCPD - MGTS

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#194195):
https://lists.openembedded.org/g/openembedded-core/message/194195
Mute This Topic: https://lists.openembedded.org/mt/103894761/924729
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-