mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 23:36:21 +01:00
python3-markupsafe: Enable ptest
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
681c4b3790
commit
a626304f37
|
|
@ -7,8 +7,21 @@ SRC_URI[md5sum] = "43fd756864fe42063068e092e220c57b"
|
||||||
SRC_URI[sha256sum] = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
|
SRC_URI[sha256sum] = "29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"
|
||||||
|
|
||||||
PYPI_PACKAGE = "MarkupSafe"
|
PYPI_PACKAGE = "MarkupSafe"
|
||||||
inherit pypi
|
inherit pypi ptest
|
||||||
|
|
||||||
RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
|
RDEPENDS_${PN} += "${PYTHON_PN}-stringold"
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|
||||||
|
SRC_URI += " \
|
||||||
|
file://run-ptest \
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPENDS_${PN}-ptest += " \
|
||||||
|
${PYTHON_PN}-pytest \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install_ptest() {
|
||||||
|
install -d ${D}${PTEST_PATH}/tests
|
||||||
|
cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
pytest
|
||||||
Loading…
Reference in New Issue
Block a user