python: import rfc3339-validator from meta-python

Importing rfc3339-validator from meta-python, which is a dependency of
python3-jsonschema. These packges are required to support
the validation of kernel device trees.

(From OE-Core rev: 8f9ade9448c1c87004d81bec049136a745dfb0b1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2021-11-22 22:54:28 -05:00
committed by Richard Purdie
parent 8a03979b55
commit 96853b0225

View File

@@ -0,0 +1,20 @@
SUMMARY = "A pure python RFC3339 validator"
HOMEPAGE = "https://github.com/naimetti/rfc3339-validator"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3339-validator:"
SRC_URI[sha256sum] = "138a2abdf93304ad60530167e51d2dfb9549521a836871b88d7f4695d0022f6b"
PYPI_PACKAGE = "rfc3339_validator"
inherit pypi setuptools3
RDEPENDS:${PN} += "\
${PYTHON_PN}-core \
${PYTHON_PN}-datetime \
${PYTHON_PN}-six \
"
BBCLASSEXTEND = "native nativesdk"