summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-04-14 13:51:44 +0200
committerArmin Kuster <akuster808@gmail.com>2023-05-07 12:22:08 -0400
commit9efc3193ec2db7e68f7a17f758fe3f48b1cd14fa (patch)
tree6d90ccf80764b62313e1ddd71014eb791e5fdfdd
parent11045d210e718b0039b327fe18b96e3e4ab12393 (diff)
downloadmeta-openembedded-9efc3193ec2db7e68f7a17f758fe3f48b1cd14fa.tar.gz
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 ce5cf625cdfc0adbffa344de7c59274cb89f5612) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-python/recipes-devtools/python/python3-gpiod_2.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.0.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.0.bb
index 18cf8ae8b5..2d3b8772db 100644
--- a/meta-python/recipes-devtools/python/python3-gpiod_2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-gpiod_2.0.bb
@@ -18,7 +18,11 @@ S = "${WORKDIR}/libgpiod-2.0/bindings/python"
18inherit setuptools3 ptest 18inherit setuptools3 ptest
19 19
20DEPENDS += "libgpiod" 20DEPENDS += "libgpiod"
21RDEPENDS:${PN} += "libgpiod (>= 2.0)" 21RDEPENDS:${PN} += " \
22 libgpiod (>= 2.0) \
23 python3-datetime \
24 python3-profile \
25"
22RDEPENDS:${PN}-ptest += "python3-setuptools" 26RDEPENDS:${PN}-ptest += "python3-setuptools"
23 27
24export GPIOD_WITH_TESTS = "${@bb.utils.contains("PTEST_ENABLED", "1", "1", "0", d)}" 28export GPIOD_WITH_TESTS = "${@bb.utils.contains("PTEST_ENABLED", "1", "1", "0", d)}"