diff options
| author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2025-02-11 15:46:47 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-02-12 09:16:09 -0800 |
| commit | 01a52551ba205ce112e55bf3ff66516b77fac0ca (patch) | |
| tree | aae4257b3fee033c004e6c99fa0d9ab1ac70aa5f /meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb | |
| parent | 482abb2a6542b16fda6399fa4245af89796cce56 (diff) | |
| download | meta-openembedded-01a52551ba205ce112e55bf3ff66516b77fac0ca.tar.gz | |
python3-gpiod: update to v2.2.4
Bugfix release containing a fix for tests failing with recent kernels.
This allows us to remove the patch we're carrying.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb deleted file mode 100644 index bdc7e52ca5..0000000000 --- a/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb +++ /dev/null | |||
| @@ -1,48 +0,0 @@ | |||
| 1 | SUMMARY = "Python bindings for libgpiod." | ||
| 2 | |||
| 3 | LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" | ||
| 4 | # The actual license files live in the upstream libgpiod from which the pypi | ||
| 5 | # package is spun out. | ||
| 6 | LIC_FILES_CHKSUM = "file://setup.py;beginline=241;endline=241;md5=f5ddb56912b7f20bf94aa4d1bdcd3533" | ||
| 7 | |||
| 8 | SRC_URI += " \ | ||
| 9 | file://run-ptest \ | ||
| 10 | file://0001-bindings-python-tests-disable-device-before-releasin.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "b916c3741dfc4dbcf6224b39e50765f672b137896287715709d49e9f063304c5" | ||
| 14 | |||
| 15 | inherit python_setuptools_build_meta python_pep517 ptest pypi | ||
| 16 | |||
| 17 | DEPENDS += " \ | ||
| 18 | libgpiod \ | ||
| 19 | python3-setuptools-native \ | ||
| 20 | " | ||
| 21 | RDEPENDS:${PN} += " \ | ||
| 22 | libgpiod (>= 2.1) \ | ||
| 23 | python3-datetime \ | ||
| 24 | python3-profile \ | ||
| 25 | " | ||
| 26 | RDEPENDS:${PN}-ptest += " \ | ||
| 27 | libgpiod-gpiosim \ | ||
| 28 | python3-setuptools \ | ||
| 29 | " | ||
| 30 | |||
| 31 | export LINK_SYSTEM_LIBGPIOD = "1" | ||
| 32 | |||
| 33 | do_compile_ptest() { | ||
| 34 | setup_target_config | ||
| 35 | nativepython3 build_tests.py | ||
| 36 | } | ||
| 37 | |||
| 38 | do_install_ptest() { | ||
| 39 | install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim | ||
| 40 | install -d ${D}${PTEST_PATH}/gpiod-test/procname | ||
| 41 | install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/ | ||
| 42 | install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim | ||
| 43 | install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim | ||
| 44 | install -m 0644 ${B}/tests/procname/_ext* ${D}${PTEST_PATH}/gpiod-test/procname | ||
| 45 | install -m 0644 ${S}/tests/procname/*.py ${D}${PTEST_PATH}/gpiod-test/procname | ||
| 46 | } | ||
| 47 | |||
| 48 | INSANE_SKIP:${PN}-ptest += "buildpaths" | ||
