python3-xmltodict: Copy recipe from meta-python

commit: 61d14138c22a70188d585d85e35fdf86bc65e66f

(From OE-Core rev: 1c5bbd919cf9c431ca2520cbb21a5cb8b8a190a0)

Signed-off-by: Marta Rybczynska <mrybczynska@syslinbit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Samantha Jalabert
2023-09-22 14:46:25 +00:00
committed by Richard Purdie
parent f3145387f5
commit 840fead190
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
SUMMARY = "Makes working with XML feel like you are working with JSON"
HOMEPAGE = "https://github.com/martinblech/xmltodict"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2"
SRC_URI[sha256sum] = "341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56"
PYPI_PACKAGE = "xmltodict"
BBCLASSEXTEND = "native nativesdk"
inherit pypi setuptools3 ptest
SRC_URI += " \
file://run-ptest \
"
RDEPENDS:${PN} += " \
${PYTHON_PN}-core \
${PYTHON_PN}-xml \
${PYTHON_PN}-io \
"
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
"
do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}