summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-jsonschema_4.7.1.bb
diff options
context:
space:
mode:
authorwangmy <wangmy@fujitsu.com>2022-07-12 15:44:59 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-12 23:56:10 +0100
commitfcc6a89dcb0b6afdf85f8af29c620916ae9a8a00 (patch)
tree39d29ea855eba3bf0a214c62fa4c03fbe64b2b5f /meta/recipes-devtools/python/python3-jsonschema_4.7.1.bb
parentcc58ae637f247a235da5d390608a44284319e399 (diff)
downloadpoky-fcc6a89dcb0b6afdf85f8af29c620916ae9a8a00.tar.gz
python3-jsonschema: upgrade 4.6.1 -> 4.7.1
Minor tweak of the PyPI hyperlink names (From OE-Core rev: e169cce3615acf5adccedaa47411453775853d28) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-jsonschema_4.7.1.bb')
-rw-r--r--meta/recipes-devtools/python/python3-jsonschema_4.7.1.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-jsonschema_4.7.1.bb b/meta/recipes-devtools/python/python3-jsonschema_4.7.1.bb
new file mode 100644
index 0000000000..f17f28a57f
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-jsonschema_4.7.1.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"
6
7SRC_URI[sha256sum] = "25203dbebd62a1179f810f14339f7a638baaf279b5cc3b738a58c3744af56d65"
8
9inherit pypi python_hatchling
10
11DEPENDS += "${PYTHON_PN}-hatch-vcs-native"
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"