Message ID | 20230206075954.600087-1-geoffhp@gmail.com |
---|---|
State | Under Review |
Headers | show |
Series | [meta-python] 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 68c81029c..9f1cc9eac 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 @@ -43,7 +43,7 @@ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ ${PYTHON_PN}-pytest-timeout \ ${PYTHON_PN}-resource \ - tk \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ " CVE_PRODUCT = "pillow"