Commit 9d05cb12 authored by Yegor Yefremov's avatar Yegor Yefremov Committed by Thomas Petazzoni
Browse files

python-smbus-cffi: new package



[Thomas:
 - fix license, it's GPLv2, not GPLv2+.]

Signed-off-by: default avatarYegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent ce726bae
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -707,6 +707,7 @@ menu "External python modules"
	source "package/python-singledispatch/Config.in"
	source "package/python-sip/Config.in"
	source "package/python-six/Config.in"
	source "package/python-smbus-cffi/Config.in"
	source "package/python-spidev/Config.in"
	source "package/python-thrift/Config.in"
	source "package/python-tornado/Config.in"
+10 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_PYTHON_SMBUS_CFFI
	bool "python-smbus-cffi"
	select BR2_PACKAGE_PYTHON_CFFI
	help
	  This Python module allows SMBus access through the I2C /dev
	  interface on Linux hosts. The host kernel must have I2C
	  support, I2C device interface support, and a bus adapter
	  driver.

	  https://github.com/bivab/smbus-cffi
+3 −0
Original line number Diff line number Diff line
# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=f621c871bd658ee665751ad78e3b2df9, sha256 locally computed
md5     f621c871bd658ee665751ad78e3b2df9  smbus-cffi-0.5.1.tar.gz
sha256  fb4195aaabfc01586863f60d3190b5cb1bf8f12622fd597e23e48768dad6bde8  smbus-cffi-0.5.1.tar.gz
+15 −0
Original line number Diff line number Diff line
################################################################################
#
# python-smbus-cffi
#
################################################################################

PYTHON_SMBUS_CFFI_VERSION = 0.5.1
PYTHON_SMBUS_CFFI_SOURCE = smbus-cffi-$(PYTHON_SMBUS_CFFI_VERSION).tar.gz
PYTHON_SMBUS_CFFI_SITE = https://pypi.python.org/packages/source/s/smbus-cffi
PYTHON_SMBUS_CFFI_SETUP_TYPE = setuptools
PYTHON_SMBUS_CFFI_LICENSE = GPLv2
PYTHON_SMBUS_CFFI_LICENSE_FILES = LICENSE
PYTHON_SMBUS_CFFI_DEPENDENCIES = host-python-cffi

$(eval $(python-package))