[2/2] python3-jsonschema: upgrade 3.2.0 -> 4.4.0

Message ID 20220303204410.1206736-2-tim.orling@konsulko.com
State Accepted, archived
Commit 9af4a46668f0e8dcc7a371ec9e14a185df3a314f
Headers show
Series [1/2] python3-importlib-metadata: upgrade 4.10.1 -> 4.11.2 | expand

Commit Message

Tim Orling March 3, 2022, 8:44 p.m. UTC
Upstream changed from setup.py to pyproject.toml+setup.cfg

inherit setuptools_build_meta

For changes see:
https://github.com/Julian/jsonschema/blob/main/CHANGELOG.rst#v440

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
---
 ...n3-jsonschema_3.2.0.bb => python3-jsonschema_4.4.0.bb} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/python/{python3-jsonschema_3.2.0.bb => python3-jsonschema_4.4.0.bb} (88%)

Patch

diff --git a/meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb b/meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb
similarity index 88%
rename from meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb
rename to meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb
index c7efe33a832..4c142296410 100644
--- a/meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb
+++ b/meta/recipes-devtools/python/python3-jsonschema_4.4.0.bb
@@ -3,12 +3,12 @@  HOMEPAGE = "https://github.com/Julian/jsonschema"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
                     file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
-DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
 
-SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
-SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
+SRC_URI[sha256sum] = "636694eb41b3535ed608fe04129f26542b59ed99808b4f688aa32dcf55317a83"
+
+inherit pypi setuptools_build_meta
 
-inherit pypi setuptools3
+DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
 
 PACKAGECONFIG ??= "format"
 PACKAGECONFIG[format] = ",,,\