python-spidev: new package
Python module for interfacing with SPI devices from user space via the spidev linux kernel driver. [Thomas: fix <pkg>_LICENSE_FILES.] Cc: Yegor Yefremov <yegorslists@googlemail.com> Reviewed-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
26e0d500b5
commit
6a3a9784db
@ -577,6 +577,7 @@ menu "external python modules"
|
||||
source "package/python-setuptools/Config.in"
|
||||
source "package/python-simplejson/Config.in"
|
||||
source "package/python-six/Config.in"
|
||||
source "package/python-spidev/Config.in"
|
||||
source "package/python-thrift/Config.in"
|
||||
source "package/python-tornado/Config.in"
|
||||
source "package/python-twisted/Config.in"
|
||||
|
7
package/python-spidev/Config.in
Normal file
7
package/python-spidev/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_PYTHON_SPIDEV
|
||||
bool "python-spidev"
|
||||
help
|
||||
Python module for interfacing with SPI devices from user
|
||||
space via the spidev linux kernel driver.
|
||||
|
||||
https://pypi.python.org/pypi/spidev
|
14
package/python-spidev/python-spidev.mk
Normal file
14
package/python-spidev/python-spidev.mk
Normal file
@ -0,0 +1,14 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-spidev
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_SPIDEV_VERSION = 3.0
|
||||
PYTHON_SPIDEV_SOURCE = spidev-$(PYTHON_SPIDEV_VERSION).tar.gz
|
||||
PYTHON_SPIDEV_SITE = https://pypi.python.org/packages/source/s/spidev
|
||||
PYTHON_SPIDEV_SETUP_TYPE = distutils
|
||||
PYTHON_SPIDEV_LICENSE = GPLv2
|
||||
PYTHON_SPIDEV_LICENSE_FILES = LICENSE.md
|
||||
|
||||
$(eval $(python-package))
|
Loading…
Reference in New Issue
Block a user