diff options
author | Nicola Lunghi <nick83ola@gmail.com> | 2019-11-15 17:46:18 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-11-17 12:34:21 -0800 |
commit | 90d119191f4b2af86d8dc216ae9c956242784089 (patch) | |
tree | 34a0a5b631ef974cf72219895d5b05fde9fc80fb /meta-python | |
parent | 4ac3c692f81f31866769f0a08c1ae14e2178c9be (diff) | |
download | meta-openembedded-90d119191f4b2af86d8dc216ae9c956242784089.tar.gz |
python-jsonschema: multiple fixes
- add second license file to LIC_FILES_CHKSUM for json module
- add missing dependencies: six, datetime
- add HOMEPAGE field
Also:
- add RDEPENDS for PACKAGECONFIG[format] for optional modules that are
not always needed. In particular rfc3987 and strict-rfc3339 are GPLv3
modules.
- add missing idna and jsonpointer modules for PACKAGECONFIG[format]
Signed-off-by: Nicola Lunghi <nick83ola@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-jsonschema.inc | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/meta-python/recipes-devtools/python/python-jsonschema.inc b/meta-python/recipes-devtools/python/python-jsonschema.inc index 1841b5893..c1b11a2cc 100644 --- a/meta-python/recipes-devtools/python/python-jsonschema.inc +++ b/meta-python/recipes-devtools/python/python-jsonschema.inc | |||
@@ -1,15 +1,26 @@ | |||
1 | SUMMARY = "An implementation of JSON Schema validation for Python" | 1 | SUMMARY = "An implementation of JSON Schema validation for Python" |
2 | HOMEPAGE = "https://github.com/Julian/jsonschema" | ||
2 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \ |
5 | file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" | ||
6 | DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native" | ||
4 | 7 | ||
5 | SRC_URI[md5sum] = "a802ab85600074a726ef6acc4e6a8148" | 8 | SRC_URI[md5sum] = "a802ab85600074a726ef6acc4e6a8148" |
6 | SRC_URI[sha256sum] = "2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f" | 9 | SRC_URI[sha256sum] = "2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f" |
7 | 10 | ||
8 | DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native" | 11 | PACKAGECONFIG ??= "format" |
12 | PACKAGECONFIG[format] = ",,,\ | ||
13 | ${PYTHON_PN}-idna \ | ||
14 | ${PYTHON_PN}-jsonpointer \ | ||
15 | ${PYTHON_PN}-webcolors \ | ||
16 | ${PYTHON_PN}-rfc3987 \ | ||
17 | ${PYTHON_PN}-strict-rfc3339 \ | ||
18 | " | ||
9 | 19 | ||
10 | RDEPENDS_${PN} += " \ | 20 | RDEPENDS_${PN} += " \ |
11 | ${PYTHON_PN}-attrs \ | 21 | ${PYTHON_PN}-attrs \ |
12 | ${PYTHON_PN}-core \ | 22 | ${PYTHON_PN}-core \ |
23 | ${PYTHON_PN}-datetime \ | ||
13 | ${PYTHON_PN}-importlib-metadata \ | 24 | ${PYTHON_PN}-importlib-metadata \ |
14 | ${PYTHON_PN}-io \ | 25 | ${PYTHON_PN}-io \ |
15 | ${PYTHON_PN}-json \ | 26 | ${PYTHON_PN}-json \ |
@@ -18,9 +29,8 @@ RDEPENDS_${PN} += " \ | |||
18 | ${PYTHON_PN}-pkgutil \ | 29 | ${PYTHON_PN}-pkgutil \ |
19 | ${PYTHON_PN}-pprint \ | 30 | ${PYTHON_PN}-pprint \ |
20 | ${PYTHON_PN}-pyrsistent \ | 31 | ${PYTHON_PN}-pyrsistent \ |
21 | ${PYTHON_PN}-rfc3987 \ | ||
22 | ${PYTHON_PN}-shell \ | 32 | ${PYTHON_PN}-shell \ |
23 | ${PYTHON_PN}-strict-rfc3339 \ | 33 | ${PYTHON_PN}-six \ |
24 | ${PYTHON_PN}-unittest \ | 34 | ${PYTHON_PN}-unittest \ |
25 | ${PYTHON_PN}-setuptools-scm \ | 35 | ${PYTHON_PN}-setuptools-scm \ |
26 | " | 36 | " |