Files
meta-openembedded/meta-python/recipes-devtools/python/python3-canopen_2.4.1.bb
T
Khem Raj d23c41e60e python3-canopen: add python3-wheel-native to DEPENDS
setuptools3.bbclass and python_setuptools_build_meta.bbclass no longer
add python3-wheel-native to DEPENDS by default, following oe-core
commit e546c697b7 ("classes/setuptools3: remove wheel dependency"),
since setuptools >= 70.1.0 no longer needs the external wheel package
to build a wheel.

This recipe's pyproject.toml/setup.py still declares wheel as a build
requirement, so pyproject-build's --no-isolation dependency check now
fails:

  ERROR Unmet dependencies (checked against .../recipe-sysroot-native/usr/bin/nativepython3):
  	wheel
  		wanted: any
  		found: not installed

Add python3-wheel-native to DEPENDS directly to satisfy it.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-13 13:01:37 -07:00

23 lines
642 B
BlitzBasic

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"