This patch provides controller area network support for Python.
Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
menu "external python modules"
source "package/python-alsaaudio/Config.in"
source "package/python-bottle/Config.in"
+ source "package/python-can/Config.in"
source "package/python-certifi/Config.in"
source "package/python-cffi/Config.in"
source "package/python-cheetah/Config.in"
--- /dev/null
+config BR2_PACKAGE_PYTHON_CAN
+ bool "python-can"
+ help
+ This module provides controller area network support for Python.
+
+ https://bitbucket.org/hardbyte/python-can
--- /dev/null
+################################################################################
+#
+# python-can
+#
+################################################################################
+
+PYTHON_CAN_VERSION = ae5b6cf
+PYTHON_CAN_SITE = https://bitbucket.org/hardbyte/python-can/get/
+PYTHON_CAN_SOURCE = $(PYTHON_CAN_VERSION).tar.bz2
+PYTHON_CAN_LICENSE = LGPLv3
+PYTHON_CAN_LICENSE_FILES = LICENSE.txt
+PYTHON_CAN_DEPENDENCIES = python
+PYTHON_CAN_SETUP_TYPE = setuptools
+
+$(eval $(python-package))