Files
meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.1.0.bb
T
Khem Raj 13d08ebd10 python3-setuptools-git-versioning: 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:50 -07:00

22 lines
709 B
BlitzBasic

SUMMARY = "Use git repo data for building a version number according PEP-440"
HOMEPAGE = "https://setuptools-git-versioning.readthedocs.io"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=92e79e3a844e66731724600f3ac9c0d8"
SRC_URI[sha256sum] = "612dfcf184addac9e1c2216f4f229724b2390e5bf613fb925ae80b84f2529172"
inherit pypi python_setuptools_build_meta
DEPENDS += "python3-wheel-native"
PACKAGECONFIG ?= ""
PACKAGECONFIG[python-version-smaller-3-dot-11] = ",,,python3-tomli"
RDEPENDS:${PN} += "python3-core python3-datetime python3-logging \
python3-packaging python3-pprint python3-setuptools \
python3-tomllib"
PYPI_PACKAGE = "setuptools_git_versioning"
BBCLASSEXTEND += "native"