summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>2026-03-22 23:51:25 +1300
committerAnuj Mittal <anuj.mittal@oss.qualcomm.com>2026-03-26 10:29:24 +0530
commit40642ec81044538a107e59f3b69b745086171e89 (patch)
tree88d54a0a9afa8b7fa5884a383fa676749ab337b9 /meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb
parentadb631c144dc7186fbd3c830d71919cf047c04d8 (diff)
downloadmeta-openembedded-40642ec81044538a107e59f3b69b745086171e89.tar.gz
python3-gpiod: update to v2.4.1
Bug-fix release addressing a memory leak and a couple minor issues. We now ship the license file with the dist tarball so update the recipe to take this into account. While at it: trim the LICENSE value to only include LGPL-v2.1-or-later as the other two licenses cover tests and text files. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit f75f4164fd7184ed47e119c782cea583b96fbb45) Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb43
1 files changed, 43 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb
new file mode 100644
index 0000000000..61a3fb929e
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb
@@ -0,0 +1,43 @@
1SUMMARY = "Python bindings for libgpiod."
2
3LICENSE = "LGPL-2.1-or-later"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=4b54a1fd55a448865a0b32d41598759d"
5
6SRC_URI += "file://run-ptest"
7
8SRC_URI[sha256sum] = "d29a1e8b2a065f7ed82f00a96009bc1486fc705bb2ad25820a8ae962ec6d7688"
9
10inherit python_setuptools_build_meta python_pep517 ptest pypi
11
12DEPENDS += " \
13 libgpiod \
14 python3-setuptools-native \
15"
16RDEPENDS:${PN} += " \
17 libgpiod (>= 2.1) \
18 python3-datetime \
19 python3-profile \
20"
21RDEPENDS:${PN}-ptest += " \
22 libgpiod-gpiosim \
23 python3-setuptools \
24"
25
26export LINK_SYSTEM_LIBGPIOD = "1"
27
28do_compile_ptest() {
29 setup_target_config
30 nativepython3 build_tests.py
31}
32
33do_install_ptest() {
34 install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim
35 install -d ${D}${PTEST_PATH}/gpiod-test/system
36 install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/
37 install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim
38 install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim
39 install -m 0644 ${B}/tests/system/_ext* ${D}${PTEST_PATH}/gpiod-test/system
40 install -m 0644 ${S}/tests/system/*.py ${D}${PTEST_PATH}/gpiod-test/system
41}
42
43INSANE_SKIP:${PN}-ptest += "buildpaths"