python: import rfc3986-validator from meta-python

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

(From OE-Core rev: ffe53365633833e5134744730b00c74cbb462752)

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 96853b0225
commit af7d5f02be
2 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
SUMMARY = "Pure python rfc3986 validator"
HOMEPAGE = "https://github.com/naimetti/rfc3986-validator"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a21b13b5a996f08f7e0b088aa38ce9c6"
FILESEXTRAPATHS:prepend := "${THISDIR}/python-rfc3986-validator:"
SRC_URI[md5sum] = "47f7657b790aaf6011a1ab3d86c6be95"
SRC_URI[sha256sum] = "3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055"
PYPI_PACKAGE = "rfc3986_validator"
inherit pypi setuptools3
SRC_URI:append = " \
file://0001-setup.py-move-pytest-runner-to-test_requirements.patch \
"
RDEPENDS:${PN} += "\
python3-core \
"
BBCLASSEXTEND = "native nativesdk"