summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-12-03 08:16:23 +0800
committerKhem Raj <raj.khem@gmail.com>2024-12-03 09:44:34 -0800
commit8ef020e8445ca3793ee457497c864e4389fa0017 (patch)
tree3bd298af5d7dd87ba4740504840cf299e2a72970 /meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb
parentf7a0862b750cb0e8ac55316d1424c6d6eb17bf69 (diff)
downloadmeta-openembedded-8ef020e8445ca3793ee457497c864e4389fa0017.tar.gz
python3-fastjsonschema: upgrade 2.20.0 -> 2.21.0
Changelog: ============ * Updated test suite * Fixed detecting when infinity is reached with multipleOf * Fixed that min/max items/lenght/properties can be float * Fixed that everything with empty `not` is invalid * Fixed missing re import when using regex pattern * Improved regexp for email format to comfort test suite * Improved regexp for date format to comfort test suite * Improved regexp for ipv4 format to comfort test suite * Added partial support of idn-hostname format * Added `detailed_exceptions` flag (default to True to avoid breaking change)i - when used, results are twice as fast Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb
new file mode 100644
index 0000000000..c763a09048
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb
@@ -0,0 +1,40 @@
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] = "a02026bbbedc83729da3bfff215564b71902757f33f60089f1abae193daa4771"
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
20# python3-misc for timeit.py
21RDEPENDS:${PN}-ptest += "\
22 python3-colorama \
23 python3-jsonschema \
24 python3-misc \
25 python3-pylint \
26 python3-pytest \
27 python3-pytest-benchmark \
28 python3-pytest-cache \
29 python3-statistics \
30 python3-unittest-automake-output \
31"
32RDEPENDS:${PN} += "\
33 python3-core \
34 python3-urllib3 \
35 python3-numbers \
36 python3-pickle \
37 python3-json \
38 "
39
40BBCLASSEXTEND = "native nativesdk"