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-16 09:37:03 +0100
committerKhem Raj <raj.khem@gmail.com>2026-03-18 14:33:26 -0700
commitf75f4164fd7184ed47e119c782cea583b96fbb45 (patch)
treeb47a48353b53c3e8d4d9cb67dc2f3c60f8afcef0 /meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb
parent2c74fbff25cbf33fe61f5cb36b2b50e7d2e93329 (diff)
downloadmeta-openembedded-f75f4164fd7184ed47e119c782cea583b96fbb45.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>
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"