Files
meta-openembedded/meta-python/recipes-devtools/python/python3-genson_1.4.0.bb
T
Khem Raj ca40b88cff python3-genson: 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:40 -07:00

32 lines
828 B
BlitzBasic

DESCRIPTION = "GenSON is a powerful, user-friendly JSON Schema generator built in Python."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e6c30d55dbfb3a28d420d918534adf6b"
# The PyPI package omits files for testing
# so use the GitHub source instead.
SRCREV = "f305b73f08998891d2f7804b84c8e3c29ca96209"
SRC_URI = " \
git://github.com/wolverdude/GenSON;branch=master;protocol=https \
file://run-ptest \
"
inherit python_setuptools_build_meta ptest
DEPENDS += "python3-wheel-native"
RDEPENDS:${PN}-ptest += " \
python3-pytest \
python3-core \
python3-coverage \
python3-jsonschema \
python3-unittest \
python3-unittest-automake-output \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/test/* ${D}${PTEST_PATH}/tests/
}
BBCLASSEXTEND = "native nativesdk"