mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
markupsafe's ptest is failing when running meta-python-ptest-image. This is because python3-markupsafe is in oe-core, but the ptests are disabled and so do_install_ptest doesn't actually install them when using the meta-python bbappend for the recipe. This patch adds do_install_ptest and the ptest RDEPENDS to the meta-python version of the recipe so that this works. Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
13 lines
288 B
Plaintext
13 lines
288 B
Plaintext
# Main recipe was moved to oe-core, but with ptest disabled
|
|
inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)}
|
|
|
|
RDEPENDS_${PN}-ptest += " \
|
|
${PYTHON_PN}-pytest \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -f ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|
|
|