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