summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python-jsonschema.inc
diff options
context:
space:
mode:
authorNicola Lunghi <nick83ola@gmail.com>2019-11-15 17:46:20 +0000
committerKhem Raj <raj.khem@gmail.com>2019-11-17 12:34:21 -0800
commit5ad8fb181e4f113901ebaa045b6a903afa367e78 (patch)
treeb0ac05e9b9a2bb717b1498a24a4d74756ac5b8fe /meta-python/recipes-devtools/python/python-jsonschema.inc
parent90d119191f4b2af86d8dc216ae9c956242784089 (diff)
downloadmeta-openembedded-5ad8fb181e4f113901ebaa045b6a903afa367e78.tar.gz
python-jsonschema: add PACKAGECONFIG nongpl option
This is the backport of a patch upstream - 10f8a3e Add format validators as separate modules This will add a PACKAGECONFIG = "nongpl" option to include only dependencies not licensed under the GPL license. Signed-off-by: Nicola Lunghi <nick83ola@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-jsonschema.inc')
-rw-r--r--meta-python/recipes-devtools/python/python-jsonschema.inc11
1 files changed, 11 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-jsonschema.inc b/meta-python/recipes-devtools/python/python-jsonschema.inc
index c1b11a2cc7..837d5760cd 100644
--- a/meta-python/recipes-devtools/python/python-jsonschema.inc
+++ b/meta-python/recipes-devtools/python/python-jsonschema.inc
@@ -5,6 +5,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
5 file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af" 5 file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
6DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native" 6DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
7 7
8FILESEXTRAPATHS_prepend := "${THISDIR}/python-jsonschema:"
9
10SRC_URI_append = " file://0001-setup.cfg-add-non-GPL-format-option.patch"
11
8SRC_URI[md5sum] = "a802ab85600074a726ef6acc4e6a8148" 12SRC_URI[md5sum] = "a802ab85600074a726ef6acc4e6a8148"
9SRC_URI[sha256sum] = "2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f" 13SRC_URI[sha256sum] = "2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f"
10 14
@@ -16,6 +20,13 @@ PACKAGECONFIG[format] = ",,,\
16 ${PYTHON_PN}-rfc3987 \ 20 ${PYTHON_PN}-rfc3987 \
17 ${PYTHON_PN}-strict-rfc3339 \ 21 ${PYTHON_PN}-strict-rfc3339 \
18" 22"
23PACKAGECONFIG[nongpl] = ",,,\
24 ${PYTHON_PN}-idna \
25 ${PYTHON_PN}-jsonpointer \
26 ${PYTHON_PN}-webcolors \
27 ${PYTHON_PN}-rfc3986-validator \
28 ${PYTHON_PN}-rfc3339-validator \
29"
19 30
20RDEPENDS_${PN} += " \ 31RDEPENDS_${PN} += " \
21 ${PYTHON_PN}-attrs \ 32 ${PYTHON_PN}-attrs \