summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2021-11-22 22:50:12 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-26 17:01:08 +0000
commit1efdf929424e435be593396ec6b4dc2e7bf69fea (patch)
treeff1f4915959097cc3937db3f88905d8c94ec1a9f /meta/recipes-devtools/python
parentb9c33ca6babbe900703f1d1fa37bb07310c83f5e (diff)
downloadpoky-1efdf929424e435be593396ec6b4dc2e7bf69fea.tar.gz
python: import jsonschema from meta-python
Importing this package as a dependency to python3-dt-schema, which is required for kernel device tree validation. (From OE-Core rev: c28fd66c673a852d287220ec0c9fe882464a0161) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb b/meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb
new file mode 100644
index 0000000000..c7efe33a83
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jsonschema_3.2.0.bb
@@ -0,0 +1,48 @@
1SUMMARY = "An implementation of JSON Schema validation for Python"
2HOMEPAGE = "https://github.com/Julian/jsonschema"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
5 file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
6DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
7
8SRC_URI[md5sum] = "f1a0b5011f05a02a8dee1070cd10a26d"
9SRC_URI[sha256sum] = "c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"
10
11inherit pypi setuptools3
12
13PACKAGECONFIG ??= "format"
14PACKAGECONFIG[format] = ",,,\
15 ${PYTHON_PN}-idna \
16 ${PYTHON_PN}-jsonpointer \
17 ${PYTHON_PN}-webcolors \
18 ${PYTHON_PN}-rfc3987 \
19 ${PYTHON_PN}-strict-rfc3339 \
20"
21PACKAGECONFIG[nongpl] = ",,,\
22 ${PYTHON_PN}-idna \
23 ${PYTHON_PN}-jsonpointer \
24 ${PYTHON_PN}-webcolors \
25 ${PYTHON_PN}-rfc3986-validator \
26 ${PYTHON_PN}-rfc3339-validator \
27"
28
29RDEPENDS:${PN} += " \
30 ${PYTHON_PN}-attrs \
31 ${PYTHON_PN}-core \
32 ${PYTHON_PN}-datetime \
33 ${PYTHON_PN}-importlib-metadata \
34 ${PYTHON_PN}-io \
35 ${PYTHON_PN}-json \
36 ${PYTHON_PN}-netclient \
37 ${PYTHON_PN}-numbers \
38 ${PYTHON_PN}-pkgutil \
39 ${PYTHON_PN}-pprint \
40 ${PYTHON_PN}-pyrsistent \
41 ${PYTHON_PN}-shell \
42 ${PYTHON_PN}-six \
43 ${PYTHON_PN}-unittest \
44 ${PYTHON_PN}-setuptools-scm \
45 ${PYTHON_PN}-zipp \
46"
47
48BBCLASSEXTEND = "native nativesdk"