[oe] [meta-python][PATCH 1/2] python3-ruamel-yaml: new package

Bartosz Golaszewski brgl at bgdev.pl
Mon Sep 23 10:00:57 UTC 2019


From: Bartosz Golaszewski <bgolaszewski at baylibre.com>

Add a pypi recipe for ruamel-yaml parser.

Based on the recipe found in meta-homeassistant by Oleksandr Andrushchenko.

Signed-off-by: Bartosz Golaszewski <bgolaszewski at baylibre.com>
---
 .../python/python3-ruamel-yaml_0.16.5.bb         | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-ruamel-yaml_0.16.5.bb

diff --git a/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.16.5.bb b/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.16.5.bb
new file mode 100644
index 000000000..ba095648f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ruamel-yaml_0.16.5.bb
@@ -0,0 +1,16 @@
+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=caf8bd842440b537c044e131785a4666"
+
+PYPI_PACKAGE = "ruamel.yaml"
+
+inherit pypi setuptools3
+
+SRC_URI[md5sum] = "7d5a5b0a7621a1247b081cc8e4978354"
+SRC_URI[sha256sum] = "412a6f5cfdc0525dee6a27c08f5415c7fd832a7afcb7a0ed7319628aed23d408"
+
+do_install_prepend() {
+    export RUAMEL_NO_PIP_INSTALL_CHECK=1
+}
-- 
2.23.0



More information about the Openembedded-devel mailing list