diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-03-22 23:51:25 +1300 |
|---|---|---|
| committer | Anuj Mittal <anuj.mittal@oss.qualcomm.com> | 2026-03-26 10:29:24 +0530 |
| commit | 40642ec81044538a107e59f3b69b745086171e89 (patch) | |
| tree | 88d54a0a9afa8b7fa5884a383fa676749ab337b9 /meta-python/recipes-devtools/python/python3-gpiod_2.4.1.bb | |
| parent | adb631c144dc7186fbd3c830d71919cf047c04d8 (diff) | |
| download | meta-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.bb | 43 |
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 @@ | |||
| 1 | SUMMARY = "Python bindings for libgpiod." | ||
| 2 | |||
| 3 | LICENSE = "LGPL-2.1-or-later" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4b54a1fd55a448865a0b32d41598759d" | ||
| 5 | |||
| 6 | SRC_URI += "file://run-ptest" | ||
| 7 | |||
| 8 | SRC_URI[sha256sum] = "d29a1e8b2a065f7ed82f00a96009bc1486fc705bb2ad25820a8ae962ec6d7688" | ||
| 9 | |||
| 10 | inherit python_setuptools_build_meta python_pep517 ptest pypi | ||
| 11 | |||
| 12 | DEPENDS += " \ | ||
| 13 | libgpiod \ | ||
| 14 | python3-setuptools-native \ | ||
| 15 | " | ||
| 16 | RDEPENDS:${PN} += " \ | ||
| 17 | libgpiod (>= 2.1) \ | ||
| 18 | python3-datetime \ | ||
| 19 | python3-profile \ | ||
| 20 | " | ||
| 21 | RDEPENDS:${PN}-ptest += " \ | ||
| 22 | libgpiod-gpiosim \ | ||
| 23 | python3-setuptools \ | ||
| 24 | " | ||
| 25 | |||
| 26 | export LINK_SYSTEM_LIBGPIOD = "1" | ||
| 27 | |||
| 28 | do_compile_ptest() { | ||
| 29 | setup_target_config | ||
| 30 | nativepython3 build_tests.py | ||
| 31 | } | ||
| 32 | |||
| 33 | do_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 | |||
| 43 | INSANE_SKIP:${PN}-ptest += "buildpaths" | ||
