mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
python3-yappi: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
pytest --automake
|
|
||||||
@@ -6,12 +6,12 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=71c208c9a4fd864385eb69ad4caa3bee"
|
|||||||
|
|
||||||
SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92"
|
SRC_URI[sha256sum] = "463b822727658937bd95a7d80ca9758605b8cd0014e004e9e520ec9cb4db0c92"
|
||||||
|
|
||||||
SRC_URI += "file://run-ptest \
|
SRC_URI += " \
|
||||||
file://0001-test_functionality-convert-line-endings-to-Unix.patch \
|
file://0001-test_functionality-convert-line-endings-to-Unix.patch \
|
||||||
file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
|
file://0002-Fix-import-of-tests.utils-to-enable-pytest.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit pypi python_setuptools_build_meta ptest
|
inherit pypi python_setuptools_build_meta ptest-python-pytest
|
||||||
|
|
||||||
RDEPENDS:${PN} += "\
|
RDEPENDS:${PN} += "\
|
||||||
python3-datetime \
|
python3-datetime \
|
||||||
@@ -28,9 +28,7 @@ RDEPENDS:${PN}-ptest += " \
|
|||||||
python3-zopeinterface \
|
python3-zopeinterface \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install_ptest() {
|
do_install_ptest:append() {
|
||||||
install -d ${D}${PTEST_PATH}/tests
|
|
||||||
cp -rf ${S}/tests ${D}${PTEST_PATH}
|
|
||||||
cp -f ${S}/run_tests.py ${D}${PTEST_PATH}
|
cp -f ${S}/run_tests.py ${D}${PTEST_PATH}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user