From aedb72c63316ccba7552b7b22fcfd41516be5659 Mon Sep 17 00:00:00 2001 From: Xu Huan Date: Fri, 26 Aug 2022 10:57:02 +0800 Subject: python3-fastjsonschema: upgrade 2.16.1 -> 2.16.2 Changelog: =========== Fix compile to code tests to run them on any platform Signed-off-by: Xu Huan Signed-off-by: Khem Raj --- .../python/python3-fastjsonschema_2.16.2.bb | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.2.bb (limited to 'meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.2.bb') diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.2.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.2.bb new file mode 100644 index 0000000000..a1d3392e19 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.16.2.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 = "1aad747bab39d4b1201ab99917463f4079955ecd" +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