diff options
| author | Geoff Parker <geoffrey.parker@arthrex.com> | 2023-02-21 20:02:01 +0100 |
|---|---|---|
| committer | Armin Kuster <akuster808@gmail.com> | 2023-03-05 07:45:14 -0500 |
| commit | d413a66d2034134cddf78d9ee611f7ab3cba70da (patch) | |
| tree | bb900bcf72aa0742563c82ef0a325529ed8c8a3e /meta-python | |
| parent | fb99d19bac01eaa767bd6459ee5f53484d5ef78d (diff) | |
| download | meta-openembedded-d413a66d2034134cddf78d9ee611f7ab3cba70da.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
(cherry picked from commit 6e8c90560e0aa8fe2ebfb791985cb75fd7490527)
Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-python')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-pillow_9.4.0.bb | 2 |
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 5a466778c0..86705d2d8e 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 += " \ | |||
| 45 | ${PYTHON_PN}-pytest-timeout \ | 45 | ${PYTHON_PN}-pytest-timeout \ |
| 46 | ${PYTHON_PN}-resource \ | 46 | ${PYTHON_PN}-resource \ |
| 47 | ${PYTHON_PN}-unixadmin\ | 47 | ${PYTHON_PN}-unixadmin\ |
| 48 | tk \ | 48 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'tk', '', d)} \ |
| 49 | " | 49 | " |
| 50 | 50 | ||
| 51 | CVE_PRODUCT = "pillow" | 51 | CVE_PRODUCT = "pillow" |
