diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend b/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend index 91814e6cde..9fe358427a 100644 --- a/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend +++ b/meta-python/recipes-devtools/python/python3-jinja2_2.%.bbappend @@ -1,2 +1,13 @@ # Main recipe was moved to oe-core, but with ptest disabled inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-toml \ + ${PYTHON_PN}-unixadmin \ +" |