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>
This commit is contained in:
Leon Anavi authored and Khem Raj committed 2021-01-08 08:42:24 -08:00
1 parent 4ab083606b
commit abd029baa1
1 file changed
+1 -2
@@ -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 \
"