Sync from SUSE:SLFO:Main python-tzdata revision d1fe9b1608bdb30e1d091af29cf1a6ea

This commit is contained in:
Adrian Schröter 2024-12-13 12:33:09 +01:00
commit 67279587d0
4 changed files with 130 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

45
python-tzdata.changes Normal file
View File

@ -0,0 +1,45 @@
-------------------------------------------------------------------
Wed Oct 2 08:25:37 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2024.2
* Improve historical data for Mexico, Mongolia, and Portugal.
* System V names are now obsolescent.
* The main data form now uses %z.
* The code now conforms to RFC 8536 for early timestamps.
* Support POSIX.1-2024, which removes asctime_r and ctime_r.
* Assume POSIX.2-1992 or later for shell scripts.
* SUPPORT_C89 now defaults to 1.
-------------------------------------------------------------------
Wed Mar 27 10:50:00 UTC 2024 - Christian Keil <keil@dfn-cert.de>
- Switch to Python 3.11 build.
-------------------------------------------------------------------
Sat Mar 16 13:46:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2024.1:
* Upstream version 2024a
* Kazakhstan unifies on UTC+5 beginning 2024-03-01. Palestine
springs forward a week later after Ramadan.
zic no longer pretends to support indefinite-past DST.
* localtime no longer mishandles Ciudad Juárez in 2422.
* Kazakhstan unifies on UTC+5. This affects Asia/Almaty and
Asia/Qostanay which together represent the eastern portion
of the country that will transition from UTC+6 on
2024-03-01 at 00:00 to join the western portion.
* Palestine springs forward a week later than previously
predicted in 2024 and 2025.
* Asia/Ho_Chi_Minh's 1955-07-01 transition occurred at 01:00
not 00:00.
* From 1947 through 1949, Toronto's transitions occurred at
02:00 not 00:00.
* In 1911 Miquelon adopted standard time on June 15, not May
15.
* The strftime man page documents which struct tm members
affect which conversion specs, and that tzset is called.
-------------------------------------------------------------------
Wed Feb 7 05:03:46 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Initial release of 2023.4.

59
python-tzdata.spec Normal file
View File

@ -0,0 +1,59 @@
#
# spec file for package python-tzdata
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-tzdata
Version: 2024.2
Release: 0
Summary: Provider of IANA time zone data
License: Apache-2.0
URL: https://github.com/python/tzdata
Source: https://files.pythonhosted.org/packages/source/t/tzdata/tzdata-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-subtests}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools >= 40.8.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
Provider of IANA time zone data
%prep
%autosetup -p1 -n tzdata-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc NEWS.md README.rst
%license licenses/LICENSE_APACHE
%{python_sitelib}/tzdata
%{python_sitelib}/tzdata-%{version}.dist-info
%changelog

BIN
tzdata-2024.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.