summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2024-08-14 14:54:35 +0300
committerKhem Raj <raj.khem@gmail.com>2024-08-14 08:15:18 -0700
commit8e8b0f41d8b564d66f8146e625755cdef6a5488f (patch)
tree5011de6d98ce100eb6b5577b4cd542d1afff3437 /meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb
parent96e6ce662384f131f83d709641a6262712eaff0e (diff)
downloadmeta-openembedded-8e8b0f41d8b564d66f8146e625755cdef6a5488f.tar.gz
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 <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-fastjsonschema_2.20.0.bb38
1 files changed, 38 insertions, 0 deletions
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 @@
1# Copyright (C) 2021 Khem Raj <raj.khem@gmail.com>
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "Fastest Python implementation of JSON schema"
5HOMEPAGE = "https://github.com/seznam/python-fastjsonschema"
6LICENSE = "BSD-3-Clause"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532"
8
9SRC_URI[sha256sum] = "3d48fc5300ee96f5d116f10fe6f28d938e6008f59a6a025c2649475b87f76a23"
10
11SRC_URI += "file://run-ptest"
12
13inherit ptest pypi setuptools3
14
15do_install_ptest() {
16 install -d ${D}${PTEST_PATH}/tests
17 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
18}
19
20RDEPENDS:${PN}-ptest += "\
21 python3-colorama \
22 python3-jsonschema \
23 python3-pylint \
24 python3-pytest \
25 python3-pytest-benchmark \
26 python3-pytest-cache \
27 python3-statistics \
28 python3-unittest-automake-output \
29"
30RDEPENDS:${PN} += "\
31 python3-core \
32 python3-urllib3 \
33 python3-numbers \
34 python3-pickle \
35 python3-json \
36 "
37
38BBCLASSEXTEND = "native nativesdk"