summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.0.bb
diff options
context:
space:
mode:
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"