Sync from SUSE:SLFO:Main python-pytzdata revision 34e3f5023f1a2bc96db28c19d23910b0

This commit is contained in:
Adrian Schröter 2024-05-03 22:39:39 +02:00
commit c43317ac02
4 changed files with 99 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

15
python-pytzdata.changes Normal file
View File

@ -0,0 +1,15 @@
-------------------------------------------------------------------
Mon May 8 04:54:25 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Mon Aug 3 06:21:26 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2020.1:
* Use version 2020a of the Oslon data.
-------------------------------------------------------------------
Tue Mar 3 13:38:20 UTC 2020 - Axel Braun <axel.braun@gmx.de>
- version 2019.3 - initial build on OBS

58
python-pytzdata.spec Normal file
View File

@ -0,0 +1,58 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2020 Dr. Axel Braun
#
# 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}
%define modname pytzdata
Name: python-%{modname}
Version: 2020.1
Release: 0
Summary: The pytzdata module for Python-pendulum
License: MIT
URL: https://github.com/sdispater/pytzdata
Source: https://files.pythonhosted.org/packages/source/p/%{modname}/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: timezone
Requires: timezone
%python_subpackages
%description
The Olson timezone database for Python. This version is linked to the systemwide zone info
%prep
%setup -q -n %{modname}-%{version}
%build
%python_build
%install
%python_install
# delete internal database
%{python_expand rm -r %{buildroot}%{$python_sitelib}/pytzdata/zoneinfo
ln -s /usr/share/zoneinfo %{buildroot}%{$python_sitelib}/pytzdata/zoneinfo
%fdupes %{buildroot}%{$python_sitelib}
}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog

BIN
pytzdata-2020.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.