meta-openembedded/meta-python/recipes-devtools
Geoff Parker a8cb3220ec 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 6e8c90560e)
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>
2023-02-22 16:11:27 -05:00
..
gyp gyp: fix for compatibility with Python 3.10 (part 2) 2022-03-03 08:50:19 -08:00
python python3-pillow: add tk to RDEPENDS ptest pkg only if x11 in DISTRO_FEATURES 2023-02-22 16:11:27 -05:00
python-jsonref python3-jsonref: Upgrade 0.2 -> 0.3.0 2022-10-10 10:19:33 -07:00
python3-wxgtk4 python3-wxgtk4: backport patch to fix svg issue 2022-05-15 22:27:38 -07:00