summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorGeoff Parker <geoffrey.parker@arthrex.com>2023-02-05 23:59:54 -0800
committerKhem Raj <raj.khem@gmail.com>2023-02-06 07:59:29 -0800
commit6e8c90560e0aa8fe2ebfb791985cb75fd7490527 (patch)
tree8ff7b1edfe8aaa3402505f4c4640ed7ca7f9dfc7 /meta-python/recipes-devtools/python
parent927b9b8487662833362537fc15e56d55809ac756 (diff)
downloadmeta-openembedded-6e8c90560e0aa8fe2ebfb791985cb75fd7490527.tar.gz
python3-pillow: add tk to RDEPENDS ptest pkg only if x11 in DISTRO_FEATURES
commit 7b0e71e00 ("python3-pillow: add ptest support", 2023-01-31) added tk to RDEPENDS:${PN}-ptest. Which cause this error on non x11 builds: ERROR: Nothing RPROVIDES 'tk' (but meta-openembedded/meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb RDEPENDS on or otherwise requires it) tk was skipped: missing required distro feature 'x11' (not in DISTRO_FEATURES) NOTE: Runtime target 'tk' is unbuildable, removing... Missing or unbuildable dependency chain was: ['tk'] NOTE: Runtime target 'iotmanager' is unbuildable, removing... Missing or unbuildable dependency chain was: ['iotmanager', 'python3-pillow', 'tk'] ERROR: Required build target 'update-runtime' has no buildable providers. Missing or unbuildable dependency chain was: ['update-runtime', 'runtime-image', 'iotmanager', 'python3-pillow', 'tk'] Add tk dependency only if DISTRO_FEATURES includes x11 Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb2
1 files changed, 1 insertions, 1 deletions
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 68c81029c0..9f1cc9eac5 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 += " \
43 ${PYTHON_PN}-pytest \ 43 ${PYTHON_PN}-pytest \
44 ${PYTHON_PN}-pytest-timeout \ 44 ${PYTHON_PN}-pytest-timeout \
45 ${PYTHON_PN}-resource \ 45 ${PYTHON_PN}-resource \
46 tk \ 46 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \
47" 47"
48 48
49CVE_PRODUCT = "pillow" 49CVE_PRODUCT = "pillow"