package/python-tzlocal: bump to 5.3.1
Switch the test assert to use 'Europe/Berlin' instead of
'posix/Europe/Berlin'. The tz-name is an internal implementation detail
anyway and the lookup changed to prefer the stated name in /etc/timezone
again, if it matches the configured timezone via /usr/share/zoneinfo.
Ref: 4ffac9232b
Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
cebfadde9b
commit
1ae65b1fb5
@@ -1,5 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/tzlocal/json
|
||||
md5 9d8d4c12b047d5d45e6eb72bb95fd90e tzlocal-5.3.tar.gz
|
||||
sha256 2fafbfc07e9d8b49ade18f898d6bcd37ae88ce3ad6486842a2e4f03af68323d2 tzlocal-5.3.tar.gz
|
||||
md5 f8eb4bf0eb262ba422741d032d6cfedf tzlocal-5.3.1.tar.gz
|
||||
sha256 cceffc7edecefea1f595541dbd6e990cb1ea3d19bf01b2809f362a03dd7921fd tzlocal-5.3.1.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 d99ab209aeb16aad2c25c90ffd83c1a981e290ffff76a420a2ab03e03f041b8c LICENSE.txt
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_TZLOCAL_VERSION = 5.3
|
||||
PYTHON_TZLOCAL_VERSION = 5.3.1
|
||||
PYTHON_TZLOCAL_SOURCE = tzlocal-$(PYTHON_TZLOCAL_VERSION).tar.gz
|
||||
PYTHON_TZLOCAL_SITE = https://files.pythonhosted.org/packages/33/cc/11360404b20a6340b9b4ed39a3338c4af47bc63f87f6cea94dbcbde07029
|
||||
PYTHON_TZLOCAL_SITE = https://files.pythonhosted.org/packages/8b/2e/c14812d3d4d9cd1773c6be938f89e5735a1f11a9f184ac3639b93cef35d5
|
||||
PYTHON_TZLOCAL_SETUP_TYPE = setuptools
|
||||
PYTHON_TZLOCAL_LICENSE = MIT
|
||||
PYTHON_TZLOCAL_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
@@ -2,4 +2,4 @@ from tzlocal import get_localzone
|
||||
from zoneinfo import ZoneInfo
|
||||
|
||||
tz = get_localzone()
|
||||
assert tz == ZoneInfo(key='posix/Europe/Berlin')
|
||||
assert tz == ZoneInfo(key='Europe/Berlin')
|
||||
|
||||
Reference in New Issue
Block a user