Skip to contentSkip to conversation

package/python-canopen: new package

PATCH New Attila Wagner 3 participants 3 messages Feb 13, 2020 – Apr 12, 2020

lore
Share & tools
lore
#0 lore raw

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

A Python implementation of the CANopen standard.

---
 DEVELOPERS                                 |  3 +++
 package/Config.in                          |  1 +
 package/python-canopen/Config.in           |  9 +++++++++
 package/python-canopen/python-canopen.hash |  4 ++++
 package/python-canopen/python-canopen.mk   | 14 ++++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/python-canopen/Config.in
 create mode 100644 package/python-canopen/python-canopen.hash
 create mode 100644 package/python-canopen/python-canopen.mk
DEVELOPERS +3 -0
index cb13035bc4..19dbbb59ec 100644
@@ -271,6 +271,9 @@ F:	package/luasec/
 F:	package/lua-ev/
 F:	package/orbit/
 
+N:	Attila Wagner <[email protected]>
+F:	package/python-canopen/
+
 N:	Bartosz Bilas <[email protected]>
 F:	package/python-esptool/
 F:	package/python-pyaes/
package/Config.in +1 -0
index dfa3f34b9d..5eaf3cf818 100644
@@ -881,6 +881,7 @@ menu "External python modules"
 	source "package/python-bunch/Config.in"
 	source "package/python-cached-property/Config.in"
 	source "package/python-can/Config.in"
+	source "package/python-canopen/Config.in"
 	source "package/python-cbor/Config.in"
 	source "package/python-cchardet/Config.in"
 	source "package/python-certifi/Config.in"
package/python-canopen/Config.in new file +9 -0
new file mode 100644
index 0000000000..e36b8c7643
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_CANOPEN
+	bool "python-canopen"
+	select BR2_PACKAGE_PYTHON_CAN # runtime
+	help
+	  A Python implementation of the CANopen standard. The aim
+	  of the project is to support the most common parts of the
+	  CiA 301 standard in a Pythonic interface.
+
+	  https://github.com/christiansandberg/canopen
package/python-canopen/python-canopen.hash new file +4 -0
new file mode 100644
index 0000000000..e1a628a3a3
@@ -0,0 +1,4 @@
+# sha256 from https://pypi.org/pypi/canopen/json
+sha256	4394770d528e93a48936138c4a7b37b5dff26d54f82a435ad9790cd1e43f55b9  canopen-1.0.0.tar.gz
+# Locally computed sha256 checksums
+sha256	0740d30978affcd91c0fc817b7cf942a332381bf0380fe17e60c6a0b377c6e0d  LICENSE.txt
package/python-canopen/python-canopen.mk new file +14 -0
new file mode 100644
index 0000000000..fc328c698e
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-canopen
+#
+################################################################################
+
+PYTHON_CANOPEN_VERSION = 1.0.0
+PYTHON_CANOPEN_SOURCE = canopen-$(PYTHON_CANOPEN_VERSION).tar.gz
+PYTHON_CANOPEN_SITE = https://files.pythonhosted.org/packages/1f/2b/55b6d82b3dcba184a01c6fe027df239953940e36a463cd24b71e67bd1f37
+PYTHON_CANOPEN_SETUP_TYPE = setuptools
+PYTHON_CANOPEN_LICENSE = MIT
+PYTHON_CANOPEN_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
Signature · 1 line
2.24.0.windows.2
#1 lore raw

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

Hi Attila,

Quoted 4 lines · Attila Wagner

A Python implementation of the CANopen standard.

Looks good to me.

Quoted 85 lines
---
 DEVELOPERS                                 |  3 +++
 package/Config.in                          |  1 +
 package/python-canopen/Config.in           |  9 +++++++++
 package/python-canopen/python-canopen.hash |  4 ++++
 package/python-canopen/python-canopen.mk   | 14 ++++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/python-canopen/Config.in
 create mode 100644 package/python-canopen/python-canopen.hash
 create mode 100644 package/python-canopen/python-canopen.mk
DEVELOPERS +3 -0
index cb13035bc4..19dbbb59ec 100644
@@ -271,6 +271,9 @@ F:  package/luasec/
 F:     package/lua-ev/
 F:     package/orbit/
 
+N:     Attila Wagner <[email protected]>
+F:     package/python-canopen/
+
 N:     Bartosz Bilas <[email protected]>
 F:     package/python-esptool/
 F:     package/python-pyaes/
package/Config.in +1 -0
index dfa3f34b9d..5eaf3cf818 100644
@@ -881,6 +881,7 @@ menu "External python modules"
        source "package/python-bunch/Config.in"
        source "package/python-cached-property/Config.in"
        source "package/python-can/Config.in"
+       source "package/python-canopen/Config.in"
        source "package/python-cbor/Config.in"
        source "package/python-cchardet/Config.in"
        source "package/python-certifi/Config.in"
package/python-canopen/Config.in new file +9 -0
new file mode 100644
index 0000000000..e36b8c7643
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_CANOPEN
+       bool "python-canopen"
+       select BR2_PACKAGE_PYTHON_CAN # runtime
+       help
+         A Python implementation of the CANopen standard. The aim
+         of the project is to support the most common parts of the
+         CiA 301 standard in a Pythonic interface.
+
+         https://github.com/christiansandberg/canopen
package/python-canopen/python-canopen.hash new file +4 -0
new file mode 100644
index 0000000000..e1a628a3a3
@@ -0,0 +1,4 @@
+# sha256 from https://pypi.org/pypi/canopen/json
+sha256 4394770d528e93a48936138c4a7b37b5dff26d54f82a435ad9790cd1e43f55b9  canopen-1.0.0.tar.gz
+# Locally computed sha256 checksums
+sha256 0740d30978affcd91c0fc817b7cf942a332381bf0380fe17e60c6a0b377c6e0d  LICENSE.txt
package/python-canopen/python-canopen.mk new file +14 -1
new file mode 100644
index 0000000000..fc328c698e
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-canopen
+#
+################################################################################
+
+PYTHON_CANOPEN_VERSION = 1.0.0
+PYTHON_CANOPEN_SOURCE = canopen-$(PYTHON_CANOPEN_VERSION).tar.gz
+PYTHON_CANOPEN_SITE = https://files.pythonhosted.org/packages/1f/2b/55b6d82b3dcba184a01c6fe027df239953940e36a463cd24b71e67bd1f37
+PYTHON_CANOPEN_SETUP_TYPE = setuptools
+PYTHON_CANOPEN_LICENSE = MIT
+PYTHON_CANOPEN_LICENSE_FILES = LICENSE.txt
+
+$(eval $(python-package))
--

2.24.0.windows.2

#2 lore raw

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

In reply to Attila Wagner
Quoted 13 lines · On Thu, 13 Feb 2020 13:40:40 +0000 Attila Wagner…

A Python implementation of the CANopen standard.

---
 DEVELOPERS                                 |  3 +++
 package/Config.in                          |  1 +
 package/python-canopen/Config.in           |  9 +++++++++
 package/python-canopen/python-canopen.hash |  4 ++++
 package/python-canopen/python-canopen.mk   | 14 ++++++++++++++
 5 files changed, 31 insertions(+)
 create mode 100644 package/python-canopen/Config.in
 create mode 100644 package/python-canopen/python-canopen.hash
 create mode 100644 package/python-canopen/python-canopen.mk

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com