From 78b74ed90c3326f7394dacd98ad823b969b22ff1 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 24 Jan 2023 18:01:19 +0200 Subject: python3-nocasedict: Upgrade 1.0.4 -> 1.1.0 Upgrade to release 1.1.0: - The default casefolding method on Python 3 was changed from str.lower() to str.casefold(). This changes the matching of the case-insensitive keys. This shold normally be an improvement, but in case you find that you are negatively affected by this change, you can go back to the str.lower() method by overriding the NocaseDict.__casefold__() method with a method that calls str.lower(). - Added support for Python 3.11. - Changed the default casefolding method on Python 3 to be str.casefold() in order to improve Unicode support. On Python 2, it remains str.lower(). Added support for user-defined casefolding. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-nocasedict_1.0.4.bb | 12 ------------ .../recipes-devtools/python/python3-nocasedict_1.1.0.bb | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-nocasedict_1.0.4.bb create mode 100644 meta-python/recipes-devtools/python/python3-nocasedict_1.1.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-nocasedict_1.0.4.bb b/meta-python/recipes-devtools/python/python3-nocasedict_1.0.4.bb deleted file mode 100644 index 006799c8bf..0000000000 --- a/meta-python/recipes-devtools/python/python3-nocasedict_1.0.4.bb +++ /dev/null @@ -1,12 +0,0 @@ -SUMMARY = "A case-insensitive ordered dictionary for Python" -HOMEPAGE = "https://github.com/pywbem/nocasedict" -LICENSE = "LGPL-2.1-only" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" - -SRC_URI[sha256sum] = "7c111da4cefd244433cb63377aff081a40f84bddae9e6f376c67f086c0f806da" - -inherit pypi setuptools3 - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-six \ -" diff --git a/meta-python/recipes-devtools/python/python3-nocasedict_1.1.0.bb b/meta-python/recipes-devtools/python/python3-nocasedict_1.1.0.bb new file mode 100644 index 0000000000..319598e3b2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-nocasedict_1.1.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "A case-insensitive ordered dictionary for Python" +HOMEPAGE = "https://github.com/pywbem/nocasedict" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" + +SRC_URI[sha256sum] = "ac551de692be6aea5b43ac3f2c33780df940013ac6dd0718fb552c8b560ba661" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-six \ +" -- cgit v1.2.3-54-g00ecf