mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-03-09 22:00:00 +00:00
python3-yappi: 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:
@@ -7,10 +7,26 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;md5=9a193c13f346884e597acdcac7fe9ac8"
|
||||
SRC_URI[md5sum] = "a545101aa8a435b0780f06f4723f58c8"
|
||||
SRC_URI[sha256sum] = "7f814131515d51db62b1a3468bcb84de30499124752806a5a6e11caf0b4344bf"
|
||||
|
||||
inherit pypi setuptools3
|
||||
SRC_URI += " \
|
||||
file://run-ptest \
|
||||
"
|
||||
|
||||
inherit pypi setuptools3 ptest
|
||||
|
||||
RDEPENDS_${PN} += "\
|
||||
${PYTHON_PN}-datetime \
|
||||
${PYTHON_PN}-pickle \
|
||||
${PYTHON_PN}-threading \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}-ptest += " \
|
||||
${PYTHON_PN}-pytest \
|
||||
${PYTHON_PN}-multiprocessing \
|
||||
${PYTHON_PN}-profile \
|
||||
"
|
||||
|
||||
do_install_ptest() {
|
||||
install -d ${D}${PTEST_PATH}/tests
|
||||
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
||||
cp -f ${S}/yappi.py ${D}/${PTEST_PATH}/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user