diff mbox series

[meta-python,2/2] python3-canopen: Add recipe

Message ID AM6PR0402MB34293AE8347092C51BCA8B92A665A@AM6PR0402MB3429.eurprd04.prod.outlook.com
State Under Review
Headers show
Series [meta-python,1/2] python3-canmatrix: Add recipe | expand

Commit Message

Søren Andersen May 26, 2025, 1:51 p.m. UTC
Add the python based canopen protocol.
It make it easy to work with CANopen based devices

Signed-off-by: Søren Andersen <san@skov.dk>
---
 .../python/python3-canopen_2.3.0.bb               | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-canopen_2.3.0.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-canopen_2.3.0.bb b/meta-python/recipes-devtools/python/python3-canopen_2.3.0.bb
new file mode 100644
index 0000000000..6efd74baa9
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-canopen_2.3.0.bb
@@ -0,0 +1,15 @@ 
+SUMMARY = "CANopen for Python"
+HOMEPAGE = "https://github.com/christiansandberg/canopen"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97f135a6ee6f800c377b5512122c7a8d"
+
+SRC_URI[sha256sum] = "792084a93c138d5b2a406ddd2d4eb5ce208f03bd8fda60f81ad2bb8d56c6b827"
+
+PYPI_PACKAGE = "canopen"
+
+inherit pypi setuptools3
+
+RDEPENDS:${PN} += "\
+  python3-can \
+  python3-canmatrix \
+"