Files
meta-openembedded/meta-python/recipes-devtools/python/python3-file-magic_0.4.1.bb
T
Khem Raj 3f91aa8050 python3-file-magic: 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:39 -07:00

22 lines
580 B
BlitzBasic

SUMMARY = "Python front end for libmagic"
DESCRIPTION = "This library is a Python ctypes interface to libmagic."
HOMEPAGE = "https://darwinsys.com/file/"
LICENSE = "BSD-2-Clause"
SECTION = "devel/python"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0e949c0b3fb4fd86232f00c6ee0bdef3"
SRC_URI[sha256sum] = "a91d1483117f7ed48cd0238ad9be36b04824d57e9c38ea7523113989e81b9c53"
inherit pypi python_setuptools_build_meta
DEPENDS += "python3-wheel-native"
RDEPENDS:${PN} += " \
file \
python3-core \
python3-ctypes \
python3-threading \
"
BBCLASSEXTEND = "native nativesdk"