aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Angelo Compagnucci <angelo.compagnucci@gmail.com>2015-06-01 18:24:41 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-06-09 23:58:02 +0200
commit30d076be237cc2bce8d397deb318a91593d3089b (patch)
treea31a456b3f107f2cf0f5df01bf468806b2e722fe /package
parent55a5200b59ab24c8f024d99096ae8238c6d42bd0 (diff)
downloadbuildroot-30d076be237cc2bce8d397deb318a91593d3089b.tar.gz
buildroot-30d076be237cc2bce8d397deb318a91593d3089b.tar.bz2
package/python-can: new package
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>
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/python-can/Config.in6
-rw-r--r--package/python-can/python-can.mk15
3 files changed, 22 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 00c9ce316d..e8a7d0ad38 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -573,6 +573,7 @@ if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
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"
diff --git a/package/python-can/Config.in b/package/python-can/Config.in
new file mode 100644
index 0000000000..6b4e0fa76e
--- /dev/null
+++ b/package/python-can/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_CAN
+ bool "python-can"
+ help
+ This module provides controller area network support for Python.
+
+ https://bitbucket.org/hardbyte/python-can
diff --git a/package/python-can/python-can.mk b/package/python-can/python-can.mk
new file mode 100644
index 0000000000..8db5732ff6
--- /dev/null
+++ b/package/python-can/python-can.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# 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))