From 0a8776ac16271c35c96542e50ce561dcdc6bf633 Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Tue, 25 Jul 2023 15:09:37 -0400 Subject: python3-fastjsonschema: upgrade 2.16.3 -> 2.18.0 Changelog (https://github.com/horejsek/python-fastjsonschema/blob/master/CHANGELOG.txt): === 2.18.0 (2023-07-22) * Improved error message for required props - only missing are reported * Fixed support of boolean schema in if-then-else application === 2.17.1 (2023-05-22) * Fixed tests in sdist === 2.17.0 (2023-05-21) * Added support for Decimals * Added tests in sdist Signed-off-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-fastjsonschema_2.18.0.bb | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb (limited to 'meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb') 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 new file mode 100644 index 0000000000..e0be7b6160 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.18.0.bb @@ -0,0 +1,39 @@ +# 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 \ +" +RDEPENDS:${PN} += "\ + python3-core \ + python3-urllib3 \ + python3-numbers \ + python3-pickle \ + python3-json \ + " + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf