summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb')
-rw-r--r--upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb
new file mode 100644
index 0000000000..bf6d505e2d
--- /dev/null
+++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb
@@ -0,0 +1,22 @@
+SUMMARY = "A Python implementation of the CANopen standard"
+HOMEPAGE = "https://github.com/canopen-python/canopen"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=97f135a6ee6f800c377b5512122c7a8d"
+
+SRC_URI[sha256sum] = "20a84bc498b34dadd79cece467d3bbe19591c1c02a8f39331bcc6065c4d8b2eb"
+
+DEPENDS += "python3-setuptools-scm-native"
+
+inherit python_setuptools_build_meta pypi
+
+DEPENDS += "python3-wheel-native"
+
+# The sdist has no git metadata for setuptools_scm to look at.
+export SETUPTOOLS_SCM_PRETEND_VERSION = "${PV}"
+
+RDEPENDS:${PN} += "\
+ python3-can \
+"
+
+PACKAGECONFIG ?= ""
+PACKAGECONFIG[canmatrix] = ",,,python3-canmatrix"