Skip to contentSkip to conversation

package/python-can: new package

PATCH Superseded Angelo Compagnucci 3 participants 3 messages May 29, 2015 – May 31, 2015

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-can: new package

This patch provides controller area network support for Python.

---
 package/Config.in                |  1 +
 package/python-can/Config.in     |  6 ++++++
 package/python-can/python-can.mk | 15 +++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/python-can/Config.in
 create mode 100644 package/python-can/python-can.mk
package/Config.in +1 -0
index d18343c..6661240 100644
@@ -577,6 +577,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"
package/python-can/Config.in new file +6 -0
new file mode 100644
index 0000000..6b4e0fa
@@ -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
package/python-can/python-can.mk new file +15 -0
new file mode 100644
index 0000000..50477a3
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-can
+#
+################################################################################
+
+PYTHON_CAN_VERSION = ae5b6cf
+PYTHON_CAN_SITE = https://bitbucket.org/hardbyte/python-can
+PYTHON_CAN_SITE_METHOD = hg
+PYTHON_CAN_LICENSE = GPLv3
+PYTHON_CAN_LICENSE_FILES = LICENSE.txt
+PYTHON_CAN_DEPENDENCIES = python
+PYTHON_CAN_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 package/python-can: new package

Dear Angelo Compagnucci,

Quoted 6 lines · Angelo Compagnucci
package/python-can/python-can.mk new file +0 -0
new file mode 100644
index 0000000..50477a3

package/python-can/python-can.mk line 10

Quoted 10 lines
package/python-can/python-can.mk new file +10 -0
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-can
+#
+################################################################################
+
+PYTHON_CAN_VERSION = ae5b6cf
+PYTHON_CAN_SITE = https://bitbucket.org/hardbyte/python-can
+PYTHON_CAN_SITE_METHOD = hg
+PYTHON_CAN_LICENSE = GPLv3

License is actually LGPLv3.

package/python-can/python-can.mk line 15

Quoted 5 lines
package/python-can/python-can.mk new file +5 -0
+PYTHON_CAN_LICENSE_FILES = LICENSE.txt
+PYTHON_CAN_DEPENDENCIES = python
+PYTHON_CAN_SETUP_TYPE = setuptools
+
+$(eval $(python-package))

Otherwise, looks good to me.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/1 package/python-can: new package

In reply to Angelo Compagnucci
Quoted 41 lines · Angelo Compagnucci

This patch provides controller area network support for Python.

---
 package/Config.in                |  1 +
 package/python-can/Config.in     |  6 ++++++
 package/python-can/python-can.mk | 15 +++++++++++++++
 3 files changed, 22 insertions(+)
 create mode 100644 package/python-can/Config.in
 create mode 100644 package/python-can/python-can.mk
package/Config.in +1 -0
index d18343c..6661240 100644
@@ -577,6 +577,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"
package/python-can/Config.in new file +6 -0
new file mode 100644
index 0000000..6b4e0fa
@@ -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
package/python-can/python-can.mk new file +0 -0
new file mode 100644
index 0000000..50477a3

package/python-can/python-can.mk line 9

Quoted 9 lines
package/python-can/python-can.mk new file +9 -0
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-can
+#
+################################################################################
+
+PYTHON_CAN_VERSION = ae5b6cf
+PYTHON_CAN_SITE = https://bitbucket.org/hardbyte/python-can
+PYTHON_CAN_SITE_METHOD = hg

I generally prefer to use the normal http download method:

PYTHON_CAN_SITE = https://bitbucket.org/hardbyte/python-can/get/
PYTHON_CAN_SOURCE = $(PYTHON_CAN_VERSION).tar.bz2

Regards,
Arnout

Quoted 7 lines
package/python-can/python-can.mk new file +6 -0
+PYTHON_CAN_LICENSE = GPLv3
+PYTHON_CAN_LICENSE_FILES = LICENSE.txt
+PYTHON_CAN_DEPENDENCIES = python
+PYTHON_CAN_SETUP_TYPE = setuptools
+
+$(eval $(python-package))
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F