python3-xmlschema: Yocto recipes for validating against XSD 1.1

This patch adds recipes for xmlschema and its dependency in order to enable
XML validation against XSD 1.1 in Python.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Junjie Mao
2021-01-25 15:00:46 +08:00
committed by Khem Raj
parent ff9f361413
commit fab930d8d0
2 changed files with 32 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
SUMMARY = "The xmlschema library is an implementation of XML Schema for Python (supports Python 3.6+)."
HOMEPAGE = "https://github.com/sissaschool/xmlschema"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=47489cb18c469474afeb259ed1d4832f"
SRC_URI[md5sum] = "f4c46f8c4415a0ca31dc2f623b668664"
SRC_URI[sha256sum] = "ade693114ff2e4a9ed5a2371ce29ae888f689bc58e326e5796f8a7dc8954dd4a"
PYPI_PACKAGE = "xmlschema"
inherit pypi setuptools3
DEPENDS += "\
${PYTHON_PN}-elementpath \
"
RDEPENDS_${PN} += "\
${PYTHON_PN}-elementpath \
"
BBCLASSEXTEND = "native nativesdk"