From 3524263211d4715d0cbf09b10dc5af3618410bdc Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 18 Nov 2024 17:29:42 +0800 Subject: python3-gpiod: upgrade 2.2.1 -> 2.2.2 License-Update: The position of "license="LGPLv2.1"," changed Changelog: ========== - fix Chip.request_lines() typing - improve the output of LineSettings.__repr__() - import gpiod attributes in external module - specify a tar extract filter for python >= 3.12 Signed-off-by: Wang Mingyu Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-gpiod_2.2.1.bb | 46 ---------------------- .../recipes-devtools/python/python3-gpiod_2.2.2.bb | 46 ++++++++++++++++++++++ 2 files changed, 46 insertions(+), 46 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb create mode 100644 meta-python/recipes-devtools/python/python3-gpiod_2.2.2.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb deleted file mode 100644 index 8e1cbf849b..0000000000 --- a/meta-python/recipes-devtools/python/python3-gpiod_2.2.1.bb +++ /dev/null @@ -1,46 +0,0 @@ -SUMMARY = "Python bindings for libgpiod." - -LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" -# The actual license files live in the upstream libgpiod from which the pypi -# package is spun out. -LIC_FILES_CHKSUM = "file://setup.py;beginline=237;endline=237;md5=f5ddb56912b7f20bf94aa4d1bdcd3533" - -SRC_URI += "file://run-ptest" - -SRC_URI[sha256sum] = "802dad3a89016339a231c462c6da2d56c820f5fb11519728ff86cdff0a16da96" - -inherit setuptools3-base python_pep517 ptest pypi - -DEPENDS += " \ - libgpiod \ - python3-setuptools-native \ -" -RDEPENDS:${PN} += " \ - libgpiod (>= 2.1) \ - python3-datetime \ - python3-profile \ -" -RDEPENDS:${PN}-ptest += " \ - libgpiod-ptest \ - python3-setuptools \ -" -RRECOMMENDS:${PN}-ptest += "kernel-module-configfs" - -export LINK_SYSTEM_LIBGPIOD = "1" - -do_compile_ptest() { - setup_target_config - nativepython3 build_tests.py -} - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim - install -d ${D}${PTEST_PATH}/gpiod-test/procname - install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/ - install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim - install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim - install -m 0644 ${B}/tests/procname/_ext* ${D}${PTEST_PATH}/gpiod-test/procname - install -m 0644 ${S}/tests/procname/*.py ${D}${PTEST_PATH}/gpiod-test/procname -} - -INSANE_SKIP:${PN}-ptest += "buildpaths" diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.2.2.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.2.2.bb new file mode 100644 index 0000000000..2df87c0e7f --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-gpiod_2.2.2.bb @@ -0,0 +1,46 @@ +SUMMARY = "Python bindings for libgpiod." + +LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" +# The actual license files live in the upstream libgpiod from which the pypi +# package is spun out. +LIC_FILES_CHKSUM = "file://setup.py;beginline=241;endline=241;md5=f5ddb56912b7f20bf94aa4d1bdcd3533" + +SRC_URI += "file://run-ptest" + +SRC_URI[sha256sum] = "aa4571f64e1070d38e4c14c491f69637ee73e23c801d3a418dde4d5410e5d53f" + +inherit setuptools3-base python_pep517 ptest pypi + +DEPENDS += " \ + libgpiod \ + python3-setuptools-native \ +" +RDEPENDS:${PN} += " \ + libgpiod (>= 2.1) \ + python3-datetime \ + python3-profile \ +" +RDEPENDS:${PN}-ptest += " \ + libgpiod-ptest \ + python3-setuptools \ +" +RRECOMMENDS:${PN}-ptest += "kernel-module-configfs" + +export LINK_SYSTEM_LIBGPIOD = "1" + +do_compile_ptest() { + setup_target_config + nativepython3 build_tests.py +} + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/gpiod-test/gpiosim + install -d ${D}${PTEST_PATH}/gpiod-test/procname + install -m 0644 ${S}/tests/*.py ${D}${PTEST_PATH}/gpiod-test/ + install -m 0644 ${B}/tests/gpiosim/_ext* ${D}${PTEST_PATH}/gpiod-test/gpiosim + install -m 0644 ${S}/tests/gpiosim/*.py ${D}${PTEST_PATH}/gpiod-test/gpiosim + install -m 0644 ${B}/tests/procname/_ext* ${D}${PTEST_PATH}/gpiod-test/procname + install -m 0644 ${S}/tests/procname/*.py ${D}${PTEST_PATH}/gpiod-test/procname +} + +INSANE_SKIP:${PN}-ptest += "buildpaths" -- cgit v1.2.3-54-g00ecf