From c983359eae9d7e3d729af36755612916dabe32d6 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 23 Apr 2021 13:03:58 -0700 Subject: python3-jinja2: Enable ptests Needed dependencies on toml and pytest and unixadmin are in core now Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python3-jinja2_2.11.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb b/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb index dbdf563f87..11a4d5432c 100644 --- a/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb +++ b/meta/recipes-devtools/python/python3-jinja2_2.11.3.bb @@ -13,8 +13,7 @@ CVE_PRODUCT = "jinja2 jinja" CLEANBROKEN = "1" inherit pypi setuptools3 -# ptest disabled in OE-Core for now due to missing dependencies - +inherit ${@bb.utils.filter('DISTRO_FEATURES', 'ptest', d)} SRC_URI += " \ file://run-ptest \ @@ -27,6 +26,7 @@ do_install_ptest() { RDEPENDS_${PN}-ptest += " \ ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-toml \ ${PYTHON_PN}-unixadmin \ " -- cgit 1.2.3-korg