From 8e8b0f41d8b564d66f8146e625755cdef6a5488f Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 14 Aug 2024 14:54:35 +0300 Subject: python3-fastjsonschema: Upgrade 2.18.0 -> 2.20.0 Upgrade to release 2.20.0. Added validations at compile time: - required must have unique items - checking if schema is not allowing required items (item is required, but is not listed in properties) Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-fastjsonschema_2.18.0.bb | 41 ---------------------- .../python/python3-fastjsonschema_2.20.0.bb | 38 ++++++++++++++++++++ 2 files changed, 38 insertions(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb deleted file mode 100644 index b2e969c5c1..0000000000 --- a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright (C) 2021 Khem Raj -# Released under the MIT license (see COPYING.MIT for the terms) - -SUMMARY = "Fastest Python implementation of JSON schema" -HOMEPAGE = "https://github.com/seznam/python-fastjsonschema" -LICENSE = "BSD-3-Clause" -LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532" - -SRCREV = "756540088687cda351390f687b92e602feaa7dc6" -PYPI_SRC_URI = "git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master" - -SRC_URI += "file://run-ptest" - -inherit ptest pypi setuptools3 - -S = "${WORKDIR}/git" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN}-ptest += "\ - python3-colorama \ - python3-jsonschema \ - python3-pylint \ - python3-pytest \ - python3-pytest-benchmark \ - python3-pytest-cache \ - python3-statistics \ - python3-unittest-automake-output \ -" -RDEPENDS:${PN} += "\ - python3-core \ - python3-urllib3 \ - python3-numbers \ - python3-pickle \ - python3-json \ - " - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb new file mode 100644 index 0000000000..0524a73b67 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb @@ -0,0 +1,38 @@ +# Copyright (C) 2021 Khem Raj +# Released under the MIT license (see COPYING.MIT for the terms) + +SUMMARY = "Fastest Python implementation of JSON schema" +HOMEPAGE = "https://github.com/seznam/python-fastjsonschema" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532" + +SRC_URI[sha256sum] = "3d48fc5300ee96f5d116f10fe6f28d938e6008f59a6a025c2649475b87f76a23" + +SRC_URI += "file://run-ptest" + +inherit ptest pypi setuptools3 + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN}-ptest += "\ + python3-colorama \ + python3-jsonschema \ + python3-pylint \ + python3-pytest \ + python3-pytest-benchmark \ + python3-pytest-cache \ + python3-statistics \ + python3-unittest-automake-output \ +" +RDEPENDS:${PN} += "\ + python3-core \ + python3-urllib3 \ + python3-numbers \ + python3-pickle \ + python3-json \ + " + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf