Message ID | 20230221190201.13924-1-marex@denx.de |
---|---|
State | New |
Headers | show |
Series | [meta-python,kirkstone] python3-pillow: add tk to RDEPENDS ptest pkg only if x11 in DISTRO_FEATURES | expand |
diff --git a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb index 5a466778c..86705d2d8 100644 --- a/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb +++ b/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb @@ -45,7 +45,7 @@ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest-timeout \ ${PYTHON_PN}-resource \ ${PYTHON_PN}-unixadmin\ - tk \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ " CVE_PRODUCT = "pillow"