summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb
blob: bf6d505e2d00918700209fc255bbf153f7d49685 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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"