Files
meta-openembedded/meta-python/recipes-devtools/python/python3-icu_2.16.2.bb
T
Khem Raj 438cea0ba3 python3-icu: 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:42 -07:00

25 lines
750 B
BlitzBasic

SUMMARY = "Python extension wrapping the ICU C++ API"
HOMEPAGE = "https://gitlab.pyicu.org/main/pyicu"
BUGTRACKER = "https://gitlab.pyicu.org/main/pyicu/-/issues"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0724597863f1581ab01429e0423e779f"
DEPENDS += "icu"
PYPI_PACKAGE = "pyicu"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
SRC_URI[sha256sum] = "006d51e24b5ec76df6ec2130f3dde269c51db8b8cfebb7d45a427dde0d10aa52"
SRC_URI += "file://0001-Fix-host-contamination-of-include-files.patch"
inherit pkgconfig pypi python_setuptools_build_meta
DEPENDS += "python3-wheel-native"
# it's lowercase pyicu instead of ${PYPI_PACKAGE} in this version
S = "${UNPACKDIR}/pyicu-${PV}"
BBCLASSEXTEND = "native nativesdk"