]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
package/python-can: new package
authorAngelo Compagnucci <angelo.compagnucci@gmail.com>
Mon, 1 Jun 2015 16:24:41 +0000 (18:24 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 9 Jun 2015 21:58:02 +0000 (23:58 +0200)
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>
package/Config.in
package/python-can/Config.in [new file with mode: 0644]
package/python-can/python-can.mk [new file with mode: 0644]

index 00c9ce316d5494d83e28e1764ca11db13851b9f1..e8a7d0ad38283c5db1eab45150c13108121a642f 100644 (file)
@@ -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 (file)
index 0000000..6b4e0fa
--- /dev/null
@@ -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 (file)
index 0000000..8db5732
--- /dev/null
@@ -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))