Files
poky/meta/recipes-devtools/python/python3-jsonschema_4.24.0.bb
Ross Burton e8fc876ada python3-jsonschema: clean up dependencies
pyrsistent was replaced with rpds in 4.18.0.

zipp doesn't appear to have ever been a dependency, remove. Maybe it was
a transient dependency.

(From OE-Core rev: bc0565683fdc78df8ec58beb4872646c48274e5f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-08-07 12:11:16 +01:00

49 lines
1.3 KiB
BlitzBasic

SUMMARY = "An implementation of JSON Schema validation for Python"
HOMEPAGE = "https://github.com/python-jsonschema/jsonschema"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
SRC_URI[sha256sum] = "0b4e8069eb12aedfa881333004bccaec24ecef5a8a6a4b6df142b2cc9599d196"
inherit pypi python_hatchling
PACKAGES =+ "${PN}-tests"
FILES:${PN}-tests = "${libdir}/${PYTHON_DIR}/site-packages/jsonschema/tests"
DEPENDS += "python3-hatch-fancy-pypi-readme-native python3-hatch-vcs-native "
PACKAGECONFIG ??= "format"
PACKAGECONFIG[format] = ",,,\
python3-idna \
python3-jsonpointer \
python3-webcolors \
python3-rfc3987 \
python3-rfc3339-validator \
"
PACKAGECONFIG[format-nongpl] = ",,,\
python3-idna \
python3-jsonpointer \
python3-webcolors \
python3-rfc3986-validator \
python3-rfc3339-validator \
"
RDEPENDS:${PN} += " \
python3-attrs \
python3-core \
python3-datetime \
python3-io \
python3-json \
python3-jsonschema-specifications \
python3-netclient \
python3-numbers \
python3-pprint \
python3-referencing \
python3-rpds-py \
"
RDEPENDS:${PN}-tests = "${PN}"
BBCLASSEXTEND = "native nativesdk"