meta-openembedded/meta-python/recipes-devtools/python/python3-xmltodict_0.13.0.bb
Leon Anavi 2467e6c82d python3-xmltodict: Upgrade 0.12.0 -> 0.13.0
Upgrade to release 0.13.0:

- Add install info to readme for openSUSE
- Support defaultdict for namespace mapping
- parse(generator) is now possible
- Processing comments on parsing from xml to dict
- Add expand_iter kw to unparse to expand iterables
- Add support for python3.8
- Drop Jython/Python 2 and add Python 3.9/3.10
- Do not use len() to determine if a sequence is empty
- Add more namespace attribute tests
- Fix encoding issue in setup.py

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-10-12 15:24:35 -07:00

31 lines
670 B
BlitzBasic

SUMMARY = "Makes working with XML feel like you are working with JSON"
AUTHOR = "Martin Blech"
HOMEPAGE = "https://github.com/martinblech/xmltodict"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=01441d50dc74476db58a41ac10cb9fa2"
SRC_URI[sha256sum] = "341595a488e3e01a85a9d8911d8912fd922ede5fecc4dce437eb4b6c8d037e56"
PYPI_PACKAGE = "xmltodict"
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/
}