blob: 837d5760cd26487d7f95b352fd7fa17c8e8d4b31 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "An implementation of JSON Schema validation for Python"
Brad Bishop23eaf032019-11-20 05:15:02 -05002HOMEPAGE = "https://github.com/Julian/jsonschema"
Patrick Williamsddad1a12017-02-23 20:36:32 -06003LICENSE = "MIT"
Brad Bishop23eaf032019-11-20 05:15:02 -05004LIC_FILES_CHKSUM = "file://COPYING;md5=7a60a81c146ec25599a3e1dabb8610a8 \
5 file://json/LICENSE;md5=9d4de43111d33570c8fe49b4cb0e01af"
6DEPENDS += "${PYTHON_PN}-vcversioner-native ${PYTHON_PN}-setuptools-scm-native"
7
8FILESEXTRAPATHS_prepend := "${THISDIR}/python-jsonschema:"
9
10SRC_URI_append = " file://0001-setup.cfg-add-non-GPL-format-option.patch"
Patrick Williamsddad1a12017-02-23 20:36:32 -060011
Brad Bishop6a62e0e2019-10-21 08:11:42 -040012SRC_URI[md5sum] = "a802ab85600074a726ef6acc4e6a8148"
13SRC_URI[sha256sum] = "2fa0684276b6333ff3c0b1b27081f4b2305f0a36cf702a23db50edb141893c3f"
Patrick Williamsddad1a12017-02-23 20:36:32 -060014
Brad Bishop23eaf032019-11-20 05:15:02 -050015PACKAGECONFIG ??= "format"
16PACKAGECONFIG[format] = ",,,\
17 ${PYTHON_PN}-idna \
18 ${PYTHON_PN}-jsonpointer \
19 ${PYTHON_PN}-webcolors \
20 ${PYTHON_PN}-rfc3987 \
21 ${PYTHON_PN}-strict-rfc3339 \
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"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050030
Patrick Williamsddad1a12017-02-23 20:36:32 -060031RDEPENDS_${PN} += " \
Brad Bishopdec060e2019-09-23 08:01:31 -040032 ${PYTHON_PN}-attrs \
Patrick Williamsddad1a12017-02-23 20:36:32 -060033 ${PYTHON_PN}-core \
Brad Bishop23eaf032019-11-20 05:15:02 -050034 ${PYTHON_PN}-datetime \
Brad Bishop2f973922019-11-11 07:58:48 -050035 ${PYTHON_PN}-importlib-metadata \
Patrick Williamsddad1a12017-02-23 20:36:32 -060036 ${PYTHON_PN}-io \
37 ${PYTHON_PN}-json \
Patrick Williamsddad1a12017-02-23 20:36:32 -060038 ${PYTHON_PN}-netclient \
39 ${PYTHON_PN}-numbers \
40 ${PYTHON_PN}-pkgutil \
41 ${PYTHON_PN}-pprint \
Brad Bishopdec060e2019-09-23 08:01:31 -040042 ${PYTHON_PN}-pyrsistent \
Patrick Williamsddad1a12017-02-23 20:36:32 -060043 ${PYTHON_PN}-shell \
Brad Bishop23eaf032019-11-20 05:15:02 -050044 ${PYTHON_PN}-six \
Patrick Williamsddad1a12017-02-23 20:36:32 -060045 ${PYTHON_PN}-unittest \
Brad Bishopdec060e2019-09-23 08:01:31 -040046 ${PYTHON_PN}-setuptools-scm \
Patrick Williamsddad1a12017-02-23 20:36:32 -060047"
48
49BBCLASSEXTEND = "native nativesdk"