diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-fastjsonschema_2.15.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-fastjsonschema_2.15.1.bb | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-fastjsonschema_2.15.1.bb b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.15.1.bb new file mode 100644 index 0000000000..d901fcb2e0 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-fastjsonschema_2.15.1.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 | |||
4 | SUMMARY = "Fastest Python implementation of JSON schema" | ||
5 | HOMEPAGE = "https://github.com/seznam/python-fastjsonschema" | ||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=18950e8362b69c0c617b42b8bd8e7532" | ||
8 | |||
9 | SRCREV = "1e214911fe83dbaeea3d50dfb3a539118de8a442" | ||
10 | PYPI_SRC_URI = "git://github.com/horejsek/python-fastjsonschema;protocol=https;branch=master" | ||
11 | |||
12 | SRC_URI += "file://run-ptest" | ||
13 | |||
14 | inherit ptest pypi setuptools3 | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | do_install_ptest() { | ||
19 | install -d ${D}${PTEST_PATH}/tests | ||
20 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
21 | } | ||
22 | |||
23 | RDEPENDS_${PN}-ptest += "\ | ||
24 | python3-colorama \ | ||
25 | python3-jsonschema \ | ||
26 | python3-pylint \ | ||
27 | python3-pytest \ | ||
28 | python3-pytest-benchmark \ | ||
29 | python3-pytest-cache \ | ||
30 | " | ||
31 | RDEPENDS_${PN} += "\ | ||
32 | python3-core \ | ||
33 | python3-urllib3 \ | ||
34 | python3-numbers \ | ||
35 | python3-pickle \ | ||
36 | " | ||
37 | |||
38 | BBCLASSEXTEND = "native nativesdk" | ||