[oe] [meta-python][PATCH] python3-html2text: add recipe

Peter Kolbus peter.kolbus at garmin.com
Fri Dec 27 17:11:45 UTC 2019


python3-html2text converts HTML to Markdown-formatted text.

Signed-off-by: Peter Kolbus <peter.kolbus at garmin.com>
---
 .../recipes-devtools/python/python-html2text.inc     | 12 ++++++++++++
 .../python/python3-html2text_2019.8.11.bb            |  2 ++
 2 files changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-html2text.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-html2text_2019.8.11.bb

diff --git a/meta-python/recipes-devtools/python/python-html2text.inc b/meta-python/recipes-devtools/python/python-html2text.inc
new file mode 100644
index 000000000..f5e208729
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-html2text.inc
@@ -0,0 +1,12 @@
+SUMMARY = "Convert HTML to Markdown-formatted text"
+HOMEPAGE = "https://github.com/Alir3z4/html2text"
+
+LICENSE = "GPL-3.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7f538584cc3407bf76042def7168548a"
+
+SRC_URI[md5sum] = "21aad7ec95b70606024b783c8253899c"
+SRC_URI[sha256sum] = "f516b9c10284174e2a974d86f91cab02b3cf983a17752075da751af0e895ef5e"
+
+inherit pypi
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2019.8.11.bb b/meta-python/recipes-devtools/python/python3-html2text_2019.8.11.bb
new file mode 100644
index 000000000..9cb5b01eb
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-html2text_2019.8.11.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-html2text.inc
-- 
2.24.1



More information about the Openembedded-devel mailing list