summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2021-01-07 00:06:59 +0200
committerKhem Raj <raj.khem@gmail.com>2021-01-08 08:42:24 -0800
commitabd029baa1c148f3ce0941d196c16187ccfe79b2 (patch)
tree06d3c3227cb42e26e0d37b9ec58d34dd310a0829 /meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb
parent4ab083606bbec87b3a8a9ca52b45ebc6003ea9f0 (diff)
downloadmeta-openembedded-abd029baa1c148f3ce0941d196c16187ccfe79b2.tar.gz
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 <leon.anavi@konsulko.com> Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-smbus2_0.4.0.bb18
1 files changed, 18 insertions, 0 deletions
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 @@
1SUMMARY = "Drop-in replacement for smbus-cffi/smbus-python in pure Python"
2DESCRIPTION = "smbus2 is a drop-in replacement for smbus-cffi/smbus-python in pure Python"
3HOMEPAGE = "https://github.com/kplindegaard/smbus2"
4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
6
7inherit pypi setuptools3
8
9SRC_URI[sha256sum] = "1b5c690715e1efab39e41038147dfba75afc72a10f76b3f0310d783e9f8a83a6"
10
11CLEANBROKEN = "1"
12
13PYPI_PACKAGE = "smbus2"
14
15RDEPENDS_${PN} += "\
16 ${PYTHON_PN}-ctypes \
17 ${PYTHON_PN}-fcntl \
18"