Add python-smbus2 package
This commit is contained in:
parent
7e758f7e12
commit
4c0b9957be
|
@ -162,6 +162,7 @@ menu "Additional external python modules"
|
|||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-requests-futures/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-rsa/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-sgmllib3k/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-smbus2/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-smmap/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-source/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-speech2text/Config.in"
|
||||
|
|
|
@ -585,6 +585,7 @@ BR2_PACKAGE_PYTHON_RAPIDFUZZ=y
|
|||
BR2_PACKAGE_PYTHON_REQUESTS_CACHE=y
|
||||
BR2_PACKAGE_PYTHON_REQUESTS_FUTURES=y
|
||||
BR2_PACKAGE_PYTHON_SGMLLIB3K=y
|
||||
BR2_PACKAGE_PYTHON_SMBUS2=y
|
||||
BR2_PACKAGE_PYTHON_SMMAP=y
|
||||
BR2_PACKAGE_PYTHON_SOURCE=y
|
||||
BR2_PACKAGE_PYTHON_TZLOCAL=y
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
config BR2_PACKAGE_PYTHON_SMBUS2
|
||||
bool "python-smbus2"
|
||||
help
|
||||
smbus2 is a drop-in replacement for smbus-cffi/smbus-python
|
||||
in pure Python.
|
||||
|
||||
https://github.com/kplindegaard/smbus2
|
|
@ -0,0 +1,5 @@
|
|||
# md5, sha256 from https://pypi.org/pypi/smbus2/json
|
||||
md5 ea4bba25b43863aecd6ec33b2252fdae smbus2-0.4.1.tar.gz
|
||||
sha256 6276eb599b76c4e74372f2582d2282f03b4398f0da16bc996608e4f21557ca9b smbus2-0.4.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 6ee9cf18c3a75dd76fb549a4b607ae34eedc31a796c48157895e2ad28d66ce79 LICENSE
|
|
@ -0,0 +1,14 @@
|
|||
################################################################################
|
||||
#
|
||||
# python-smbus2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_SMBUS2_VERSION = 0.4.1
|
||||
PYTHON_SMBUS2_SOURCE = smbus2-$(PYTHON_SMBUS2_VERSION).tar.gz
|
||||
PYTHON_SMBUS2_SITE = https://files.pythonhosted.org/packages/d9/33/787448c69603eec96af07d36f7ae3a7e3fce4020632eddb55152dc903233
|
||||
PYTHON_SMBUS2_SETUP_TYPE = setuptools
|
||||
PYTHON_SMBUS2_LICENSE = MIT
|
||||
PYTHON_SMBUS2_LICENSE_FILES = LICENSE
|
||||
|
||||
$(eval $(python-package))
|
Loading…
Reference in New Issue