forked from pool/python-tzdata
* 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tzdata?expand=0&rev=3
59 lines
1.6 KiB
RPMSpec
59 lines
1.6 KiB
RPMSpec
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: python-tzdata
|
|
Version: 2024.1
|
|
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
|