From abd029baa1c148f3ce0941d196c16187ccfe79b2 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 7 Jan 2021 00:06:59 +0200 Subject: python3-smbus2: Upgrade 0.3.0 -> 0.4.0 Upgrade to release 0.4.0: - Support for SMBus PEC (Packet Error Checking). - Support for Python 3 type hinting and mypy static type analysis. Type stubs added to the project. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-smbus2_0.3.0.bb | 19 ------------------- .../recipes-devtools/python/python3-smbus2_0.4.0.bb | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 19 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb b/meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb deleted file mode 100644 index 7a61927206..0000000000 --- a/meta-python/recipes-devtools/python/python3-smbus2_0.3.0.bb +++ /dev/null @@ -1,19 +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://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" - -inherit pypi setuptools3 - -SRC_URI[md5sum] = "d5ed5acc889b4770a84cc932853ed20a" -SRC_URI[sha256sum] = "210e66eebe4d0b1fe836b3ec2751841942e1c4918c0b429b20a0e20a222228b4" - -CLEANBROKEN = "1" - -PYPI_PACKAGE = "smbus2" - -RDEPENDS_${PN} += "\ - ${PYTHON_PN}-ctypes \ - ${PYTHON_PN}-fcntl \ -" diff --git a/meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb b/meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb new file mode 100644 index 0000000000..1f6f61137e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-smbus2_0.4.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://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +inherit pypi setuptools3 + +SRC_URI[sha256sum] = "1b5c690715e1efab39e41038147dfba75afc72a10f76b3f0310d783e9f8a83a6" + +CLEANBROKEN = "1" + +PYPI_PACKAGE = "smbus2" + +RDEPENDS_${PN} += "\ + ${PYTHON_PN}-ctypes \ + ${PYTHON_PN}-fcntl \ +" -- cgit v1.2.3-54-g00ecf