From aba3856c1e21979376949e2b9c6726787fa4e085 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 24 Dec 2025 17:13:00 +0800 Subject: python3-smbus2: upgrade 0.5.0 -> 0.6.0 Changelog: ========== - Python 3.14 added. - Fix SystemError: buffer overflow on Python 3.14+ on 64-bit systems by using c_ulong instead of c_uint32 for I2C_FUNCS ioctl. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-smbus2_0.5.0.bb | 18 ------------------ .../recipes-devtools/python/python3-smbus2_0.6.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.5.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.6.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-smbus2_0.5.0.bb b/meta-python/recipes-devtools/python/python3-smbus2_0.5.0.bb deleted file mode 100644 index dc73f915e0..0000000000 --- a/meta-python/recipes-devtools/python/python3-smbus2_0.5.0.bb +++ /dev/null @@ -1,18 +0,0 @@ -SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" -DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" -HOMEPAGE = "https://github.com/kplindegaard/smbus2" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=2a3eca2de44816126b3c6f33811a9fba" - -inherit pypi setuptools3 - -SRC_URI[sha256sum] = "4a5946fd82277870c2878befdb1a29bb28d15cda14ea4d8d2d54cf3d4bdcb035" - -CLEANBROKEN = "1" - -PYPI_PACKAGE = "smbus2" - -RDEPENDS:${PN} += "\ - python3-ctypes \ - python3-fcntl \ -" diff --git a/meta-python/recipes-devtools/python/python3-smbus2_0.6.0.bb b/meta-python/recipes-devtools/python/python3-smbus2_0.6.0.bb new file mode 100644 index 0000000000..33613d9abe --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-smbus2_0.6.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python" +DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python" +HOMEPAGE = "https://github.com/kplindegaard/smbus2" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2a3eca2de44816126b3c6f33811a9fba" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "9b5ff1e998e114730f9dfe0c4babbef06c92468cfb61eaa684e30f225661b95b" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "smbus2" + +RDEPENDS:${PN} += "\ + python3-ctypes \ + python3-fcntl \ +" -- cgit v1.2.3-54-g00ecf