summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2023-05-25 14:57:59 +0800
committerKhem Raj <raj.khem@gmail.com>2023-05-25 08:57:47 -0700
commit4d763b8d6aa31b02a48379b4307290616cbdcbe1 (patch)
treec3845277193145d69765207f7d0c44e729775c7b /meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb
parent2083b3a47f1a11375f70dac96eb355f73a4e244d (diff)
downloadmeta-openembedded-4d763b8d6aa31b02a48379b4307290616cbdcbe1.tar.gz
python3-tzlocal: upgrade 4.3 -> 5.0.1
Changelog: =========== - The logging info under windows made it look like it looked up the registry info even when you had a TZ environment, but it doesn't actually do that. - Improved the handling of loggers. - Fixed a bug in the new assert_tz_offset method. - Change how the system offset is calculated to deal with non-DST temporary changes, such as Ramadan time in Morocco. - Change the default to only warn when the timezone offset and system offset disagree (but still not even warn if TZ is set) - Add the assert_tz_offset() method to the top level for those who want to explicitly check and fail. - Removed the deprecation shim. Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb b/meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb
new file mode 100644
index 0000000000..43649bf730
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-tzlocal_5.0.1.bb
@@ -0,0 +1,13 @@
1SUMMARY = "Library to return tzinfo with the local timezone information"
2HOMEPAGE = "https://pypi.org/project/tzlocal/"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10"
5
6SRC_URI[sha256sum] = "46eb99ad4bdb71f3f72b7d24f4267753e240944ecfc16f25d2719ba89827a803"
7
8inherit pypi python_setuptools_build_meta
9
10RDEPENDS:${PN} += "\
11 ${PYTHON_PN}-pytz-deprecation-shim \
12 ${PYTHON_PN}-datetime \
13"