diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb new file mode 100644 index 000000000..ea17190d5 --- /dev/null +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb @@ -0,0 +1,25 @@ +SUMMARY = "Convert HTML to Markdown-formatted text" +HOMEPAGE = "https://github.com/Alir3z4/html2text" + +LICENSE = "GPL-3.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" + +SRC_URI[md5sum] = "c77b580c94d1a9e0145f23cc4472993d" +SRC_URI[sha256sum] = "e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} + +BBCLASSEXTEND = "native nativesdk" |