Files
meta-openembedded/meta-python/recipes-devtools/python/python3-lz4_4.4.5.bb
T
Khem Raj 24823e4fc9 python3-lz4: 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:44 -07:00

32 lines
824 B
BlitzBasic

DESCRIPTION = "python bindings for the lz4 compression library by Yann Collet"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=6231efa4dd4811e62407314d90a57573"
DEPENDS += " \
lz4 \
python3-setuptools-scm-native \
python3-pkgconfig-native \
"
SRC_URI[sha256sum] = "5f0b9e53c1e82e88c10d7c180069363980136b9d7a8306c4dca4f760d60c39f0"
inherit pkgconfig pypi python_setuptools_build_meta ptest-python-pytest
DEPENDS += "python3-wheel-native"
RDEPENDS:${PN}-ptest += "\
python3-coverage \
python3-pytest-cov \
python3-pytest-runner \
python3-multiprocessing \
python3-psutil \
"
do_install_ptest:append () {
# The stream API is experimental and not enabled yet, so don't ship the test suite
rm -rf ${D}${PTEST_PATH}/tests/stream
}
BBCLASSEXTEND = "native nativesdk"