summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2023-04-14 13:51:44 +0200
committerKhem Raj <raj.khem@gmail.com>2023-04-14 08:45:14 -0700
commitce5cf625cdfc0adbffa344de7c59274cb89f5612 (patch)
tree386467540e797ff4200c12f224ff16da3100828c /meta-python
parent1a6b24b78cf1890621750432b725db96d8e7fdb8 (diff)
downloadmeta-openembedded-ce5cf625cdfc0adbffa344de7c59274cb89f5612.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>
Diffstat (limited to 'meta-python')
-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 93b7b935c3..e39d5beb10 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-${PV}/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)}"