[PATCH 14/20] python: import ruamel-yaml from meta-python
From: <hidden>
Date: 2021-11-23 21:58:05
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Bruce Ashfield <redacted> Importing ruamel-yaml from meta-python. This package is a dependency of python3-dtschema, which is required to validate kernel devicetrees. Signed-off-by: Bruce Ashfield <redacted> --- .../python/python3-ruamel-yaml_0.17.16.bb | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 meta/recipes-devtools/python/python3-ruamel-yaml_0.17.16.bb
diff --git a/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.16.bb b/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.16.bb
new file mode 100644
index 0000000000..e64f196004
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-ruamel-yaml_0.17.16.bb@@ -0,0 +1,23 @@ +SUMMARY = "YAML parser/emitter that supports roundtrip preservation of comments, seq/map flow style, and map key order." +AUTHOR = "Anthon van der Neut" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fa0a51dfb461e2f803969e0f3fa71dfe" + +PYPI_PACKAGE = "ruamel.yaml" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "1a771fc92d3823682b7f0893ad56cb5a5c87c48e62b5399d6f42c8759a583b33" + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-netclient \ +" + +do_install:prepend() { + export RUAMEL_NO_PIP_INSTALL_CHECK=1 +} + +BBCLASSEXTEND = "native nativesdk"
--
2.19.1