python3-gpiod: add missing run-time dependencies

The gpiod package needs some standard python modules so add them to
RDEPENDS.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ce5cf625cd)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Bartosz Golaszewski 2023-04-14 13:51:44 +02:00 committed by Armin Kuster
parent 11045d210e
commit 9efc3193ec

View File

@ -18,7 +18,11 @@ S = "${WORKDIR}/libgpiod-2.0/bindings/python"
inherit setuptools3 ptest
DEPENDS += "libgpiod"
RDEPENDS:${PN} += "libgpiod (>= 2.0)"
RDEPENDS:${PN} += " \
libgpiod (>= 2.0) \
python3-datetime \
python3-profile \
"
RDEPENDS:${PN}-ptest += "python3-setuptools"
export GPIOD_WITH_TESTS = "${@bb.utils.contains("PTEST_ENABLED", "1", "1", "0", d)}"