summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.bb
new file mode 100644
index 0000000000..ecd92d5a74
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.21.1.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] = "794d4f0a58f848961ba16af7b9c85a3e88cd360df008c59aac6fc5ae9323b5d4"
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"