From 2467e6c82d146d0f257f7f0f92a5a958ff1b3cb7 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 12 Oct 2022 16:06:24 +0300 Subject: 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 Signed-off-by: Khem Raj --- .../python/python3-xmltodict_0.12.0.bb | 25 ------------------ .../python/python3-xmltodict_0.13.0.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 25 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-xmltodict_0.12.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-xmltodict_0.13.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-xmltodict_0.12.0.bb b/meta-python/recipes-devtools/python/python3-xmltodict_0.12.0.bb deleted file mode 100644 index 1d871b2d35..0000000000 --- a/meta-python/recipes-devtools/python/python3-xmltodict_0.12.0.bb +++ /dev/null @@ -1,25 +0,0 @@ -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[md5sum] = "ddb2bd078cef4f7e3021a578034ad941" -SRC_URI[sha256sum] = "50d8c638ed7ecb88d90561beedbf720c9b4e851a9fa6c47ebd64e99d166d8a21" - -PYPI_PACKAGE = "xmltodict" - -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-python/recipes-devtools/python/python3-xmltodict_0.13.0.bb b/meta-python/recipes-devtools/python/python3-xmltodict_0.13.0.bb new file mode 100644 index 0000000000..aadf8b7f44 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-xmltodict_0.13.0.bb @@ -0,0 +1,30 @@ +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/ +} -- cgit v1.2.3-54-g00ecf