Files
meta-openembedded/meta-python/recipes-devtools/python/python3-pyroute2_0.9.6.bb
T
Khem Raj d27f656de4 python3-pyroute2: 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:48 -07:00

41 lines
1.2 KiB
BlitzBasic

SUMMARY = "A pure Python netlink and Linux network configuration library"
LICENSE = "Apache-2.0 OR GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \
file://LICENSE.GPL-2.0-or-later;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://LICENSE.Apache-2.0;md5=34281e312165f843a2b7d1f114fe65ce"
SRC_URI[sha256sum] = "6bc5e2ea9a372ded682b4ede4028ba00236bd6e35b42d833f39a96b219ef1db2"
inherit python_setuptools_build_meta pypi ptest-python-pytest
DEPENDS += "python3-wheel-native"
RDEPENDS:${PN} += " \
python3-ctypes \
python3-fcntl \
python3-io \
python3-json \
python3-logging \
python3-multiprocessing \
python3-pickle \
python3-pkgutil \
python3-pprint \
python3-shell \
python3-sqlite3 \
python3-unittest \
python3-unixadmin \
"
RDEPENDS:${PN}-ptest += " \
python3-fcntl \
python3-html \
python3-netclient \
"
do_install_ptest:append () {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \
${D}${PTEST_PATH}/tests/test_unit/test_iproute_match/test_match.py
}