diff options
author | Zang Ruochen <zangrc.fnst@cn.fujitsu.com> | 2020-06-15 22:40:03 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-06-17 08:56:52 -0700 |
commit | 2da223d89b20a100f97b49b5840706755b978a28 (patch) | |
tree | 8340088d956327f067b63fa7cccc46befbd57e45 /meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb | |
parent | 9b318ba90bcce48f4a87a71a4e05df14d5b6294b (diff) | |
download | meta-openembedded-2da223d89b20a100f97b49b5840706755b978a28.tar.gz |
python-html2text: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb index 565b31d979..ea17190d59 100644 --- a/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb +++ b/meta-python/recipes-devtools/python/python3-html2text_2020.1.16.bb @@ -7,6 +7,19 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI[md5sum] = "c77b580c94d1a9e0145f23cc4472993d" SRC_URI[sha256sum] = "e296318e16b059ddb97f7a8a1d6a5c1d7af4544049a01e261731d2d5cc277bbb" -inherit pypi setuptools3 +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" |