diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb')
-rw-r--r-- | meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb index aa087c920..ae242af56 100644 --- a/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb +++ b/meta-openembedded/meta-python/recipes-devtools/python/python3-soupsieve_2.0.1.bb @@ -7,6 +7,20 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=5a6fd3b0c24fc5a041a3d1bbb22c81b5" SRC_URI[md5sum] = "62a7481c7dbf6d8cc21e4e3a79c72034" SRC_URI[sha256sum] = "a59dc181727e95d25f781f0eb4fd1825ff45590ec8ff49eadfd7f1a537cc0232" -inherit pypi setuptools3 +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-beautifulsoup4 \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} BBCLASSEXTEND = "native nativesdk" |