From c2805f300d5a84d27197754e7230f66339029065 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 26 Feb 2025 07:24:35 +0800 Subject: python3-tzlocal: upgrade 5.2 -> 5.3 Changelog: =========== - Now supports Python 3.9 to 3.13, and no longer requires backports.zoneinfo. - Debian is for some reason removing support for /etc/timezone, which is bad, because that's the only place where the timezone is stated in plain text, and what's worse, they don't delete it. So we can't trust it now, so when we have multiple configs, we are forced to just ignore it. - Attempts to return a ZoneInfo object also for UTC. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-tzlocal_5.2.bb | 14 -------------- meta-python/recipes-devtools/python/python3-tzlocal_5.3.bb | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-tzlocal_5.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-tzlocal_5.3.bb diff --git a/meta-python/recipes-devtools/python/python3-tzlocal_5.2.bb b/meta-python/recipes-devtools/python/python3-tzlocal_5.2.bb deleted file mode 100644 index da58964f2c..0000000000 --- a/meta-python/recipes-devtools/python/python3-tzlocal_5.2.bb +++ /dev/null @@ -1,14 +0,0 @@ -SUMMARY = "Library to return tzinfo with the local timezone information" -HOMEPAGE = "https://pypi.org/project/tzlocal/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10" - -SRC_URI[sha256sum] = "8d399205578f1a9342816409cc1e46a93ebd5755e39ea2d85334bea911bf0e6e" - -inherit pypi python_setuptools_build_meta - -RDEPENDS:${PN} += " \ - python3-datetime \ - python3-logging \ - python3-zoneinfo \ -" diff --git a/meta-python/recipes-devtools/python/python3-tzlocal_5.3.bb b/meta-python/recipes-devtools/python/python3-tzlocal_5.3.bb new file mode 100644 index 0000000000..eaa80e83f7 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tzlocal_5.3.bb @@ -0,0 +1,14 @@ +SUMMARY = "Library to return tzinfo with the local timezone information" +HOMEPAGE = "https://pypi.org/project/tzlocal/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10" + +SRC_URI[sha256sum] = "2fafbfc07e9d8b49ade18f898d6bcd37ae88ce3ad6486842a2e4f03af68323d2" + +inherit pypi python_setuptools_build_meta + +RDEPENDS:${PN} += " \ + python3-datetime \ + python3-logging \ + python3-zoneinfo \ +" -- cgit v1.2.3-54-g00ecf