Sync from SUSE:SLFO:Main python-pytz revision 28a183672b003b655fc274463819ddeb
This commit is contained in:
parent
7bba037ca9
commit
13036014a4
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 31 21:53:27 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||||
|
|
||||||
|
- Clean up SPEC file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 31 11:52:05 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
|
||||||
|
|
||||||
|
- update to 2024.1:
|
||||||
|
* Update olson to 2024a
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 1 12:33:50 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2023.4:
|
||||||
|
* Update olson to 2023d
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 17 11:19:21 UTC 2023 - Markéta Calábková <meggy.calabkova@gmail.com>
|
||||||
|
|
||||||
|
- Update to 2023.3.post1
|
||||||
|
* Replace deprecated datetime.utcfromtimestamp()
|
||||||
|
* Resurrect Python 2.7 tests
|
||||||
|
* Add support for Python 3.12
|
||||||
|
- Drop pytz-%{version}.tar.gz.asc and python-pytz.keyring
|
||||||
|
* PyPI hides the .asc files and wants to drop the support
|
||||||
|
* related: https://github.com/certbot/certbot/issues/9707
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:32:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:32:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
@ -18,13 +46,13 @@ Mon Apr 3 19:53:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|||||||
Mon Mar 27 07:33:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon Mar 27 07:33:07 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- update to 2023.2:
|
- update to 2023.2:
|
||||||
* Update to IANA 2023b
|
* Update to IANA 2023b
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 7 07:35:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Tue Mar 7 07:35:24 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- update to 2022.7.1:
|
- update to 2022.7.1:
|
||||||
* fixes to documentation formatting
|
* fixes to documentation formatting
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 2 19:30:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Mon Jan 2 19:30:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
@ -47,7 +75,7 @@ Mon Jan 2 19:30:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 9 18:43:04 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Wed Nov 9 18:43:04 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to 2022.6
|
- Update to 2022.6
|
||||||
* IANA 2022f
|
* IANA 2022f
|
||||||
* Squashed 'tz/' changes from c4eb3fcf2..623631d84
|
* Squashed 'tz/' changes from c4eb3fcf2..623631d84
|
||||||
* Upgrade unittest asserts
|
* Upgrade unittest asserts
|
||||||
@ -57,7 +85,7 @@ Wed Nov 9 18:43:04 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Oct 28 20:55:25 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Fri Oct 28 20:55:25 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
- Update to 2022.5
|
- Update to 2022.5
|
||||||
|
|
||||||
* IANA 2022e
|
* IANA 2022e
|
||||||
Squashed 'tz/' changes from 0fc8f915a..16bd7a384
|
Squashed 'tz/' changes from 0fc8f915a..16bd7a384
|
||||||
@ -79,7 +107,7 @@ Mon Aug 15 20:10:16 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|||||||
|
|
||||||
- update to 2022.2.1:
|
- update to 2022.2.1:
|
||||||
* matches tzdata 2022b
|
* matches tzdata 2022b
|
||||||
- avoid bashisms in rpm scripts (bsc#1195391)
|
- avoid bashisms in rpm scripts (bsc#1195391)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 29 11:46:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
Tue Mar 29 11:46:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
@ -92,7 +120,7 @@ Tue Mar 29 11:46:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
|||||||
Sat Oct 16 20:27:50 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Sat Oct 16 20:27:50 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- update to 2021.3
|
- update to 2021.3
|
||||||
* matches tzdata 2021c
|
* matches tzdata 2021c
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 8 17:16:15 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
Thu Jul 8 17:16:15 UTC 2021 - Matej Cepl <mcepl@suse.com>
|
||||||
@ -119,13 +147,13 @@ Tue Feb 23 21:22:23 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
|||||||
Tue Feb 9 22:52:58 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Tue Feb 9 22:52:58 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- update to 2021.1:
|
- update to 2021.1:
|
||||||
* update to IANA 2021a timezone release
|
* update to IANA 2021a timezone release
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 29 20:27:04 UTC 2020 - Dirk Müller <dmueller@suse.com>
|
Tue Dec 29 20:27:04 UTC 2020 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
- update to 2020.5:
|
- update to 2020.5:
|
||||||
* update to IANA 2020e timezone release
|
* update to IANA 2020e timezone release
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 26 08:45:14 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Thu Nov 26 08:45:14 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
@ -204,7 +232,7 @@ Sun Feb 17 01:37:01 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
|||||||
* Use early python2 compatible str formatting
|
* Use early python2 compatible str formatting
|
||||||
* Raise UnknownTimeZoneError if provided timezone name is None
|
* Raise UnknownTimeZoneError if provided timezone name is None
|
||||||
* Make timezone lookup case insensitive
|
* Make timezone lookup case insensitive
|
||||||
- from 2018.7
|
- from 2018.7
|
||||||
* IANA 2018g
|
* IANA 2018g
|
||||||
- from 2018.6
|
- from 2018.6
|
||||||
* IANA 2018f
|
* IANA 2018f
|
||||||
@ -332,7 +360,7 @@ Sun Apr 19 09:10:33 UTC 2015 - benoit.monin@gmx.fr
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 14 07:55:05 UTC 2015 - mcihar@suse.cz
|
Wed Jan 14 07:55:05 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
- Do not remove internal timezone database on older distributions where
|
- Do not remove internal timezone database on older distributions where
|
||||||
it is still required
|
it is still required
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
@ -357,7 +385,7 @@ Tue Nov 11 11:47:38 UTC 2014 - idonmez@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jul 24 09:41:38 UTC 2014 - mcihar@suse.com
|
Thu Jul 24 09:41:38 UTC 2014 - mcihar@suse.com
|
||||||
|
|
||||||
- Run test suite during build (required disabling of one test as
|
- Run test suite during build (required disabling of one test as
|
||||||
it is known to be broken)
|
it is known to be broken)
|
||||||
- Disable broken test (fix-tests.patch)
|
- Disable broken test (fix-tests.patch)
|
||||||
|
|
||||||
@ -402,18 +430,18 @@ Tue Sep 17 08:54:44 UTC 2013 - dmueller@suse.com
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 30 12:09:19 UTC 2013 - dmueller@suse.com
|
Tue Apr 30 12:09:19 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
- remove conflicts with timezone, breaks the build
|
- remove conflicts with timezone, breaks the build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 30 09:56:41 UTC 2013 - dmueller@suse.com
|
Tue Apr 30 09:56:41 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
- add provides/obsoletes on python(3)-tz
|
- add provides/obsoletes on python(3)-tz
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 29 12:11:02 UTC 2013 - dmueller@suse.com
|
Mon Apr 29 12:11:02 UTC 2013 - dmueller@suse.com
|
||||||
|
|
||||||
- update to 2013b:
|
- update to 2013b:
|
||||||
* Sync with timezone 2013b release
|
* Sync with timezone 2013b release
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 14 18:35:51 UTC 2013 - p.drouand@gmail.com
|
Mon Jan 14 18:35:51 UTC 2013 - p.drouand@gmail.com
|
||||||
|
1259
python-pytz.keyring
1259
python-pytz.keyring
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytz
|
# spec file for package python-pytz
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,42 +18,29 @@
|
|||||||
|
|
||||||
# Ensure you update the tzdata_version for any minor version increase
|
# Ensure you update the tzdata_version for any minor version increase
|
||||||
# otherwise the update python library has the incorrect timezone data.
|
# otherwise the update python library has the incorrect timezone data.
|
||||||
%define tzdata_version 2023c
|
%define tzdata_version 2024a
|
||||||
%define oldpython python
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%{?!pyunittest:%define pyunittest(+abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-=) \\\
|
|
||||||
%{lua: local args = rpm.expand("%**");
|
|
||||||
local broot = rpm.expand("%buildroot");
|
|
||||||
local intro = "%{python_expand PYTHONPATH=${PYTHONPATH:+$PYTHONPATH:}" .. broot .. "%{$python_sitelib} PYTHONDONTWRITEBYTECODE=1 $python -m unittest ";
|
|
||||||
print(rpm.expand(intro .. args .. "}"))
|
|
||||||
} }
|
|
||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pytz
|
Name: python-pytz
|
||||||
Version: 2023.3
|
Version: 2024.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: World timezone definitions, modern and historical
|
Summary: World timezone definitions, modern and historical
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://pythonhosted.org/pytz/
|
URL: https://pythonhosted.org/pytz/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.gz
|
||||||
Source2: https://files.pythonhosted.org/packages/source/p/pytz/pytz-%{version}.tar.gz.asc
|
|
||||||
Source90: %{name}.keyring
|
|
||||||
# PATCH-FIX-UPSTREAM fix-tests.patch -- Remote tests which are known to be broken
|
# PATCH-FIX-UPSTREAM fix-tests.patch -- Remote tests which are known to be broken
|
||||||
Patch0: fix-tests.patch
|
Patch0: fix-tests.patch
|
||||||
# PATCH-FIX-UPSTREAM 0001-Fix-tests-for-older-timezone-versions.patch -- https://code.launchpad.net/~toabctl/pytz/+git/pytz/+merge/326419
|
# PATCH-FIX-UPSTREAM 0001-Fix-tests-for-older-timezone-versions.patch -- https://code.launchpad.net/~toabctl/pytz/+git/pytz/+merge/326419
|
||||||
Patch2: 0001-Fix-tests-for-older-timezone-versions.patch
|
Patch2: 0001-Fix-tests-for-older-timezone-versions.patch
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: timezone >= %{tzdata_version}
|
BuildRequires: timezone >= %{tzdata_version}
|
||||||
Requires: python-base
|
Requires: python-base
|
||||||
Requires: timezone >= %{tzdata_version}
|
Requires: timezone >= %{tzdata_version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%ifpython2
|
|
||||||
Provides: %{oldpython}-tz = %{version}
|
|
||||||
Obsoletes: %{oldpython}-tz < %{version}
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -77,10 +64,10 @@ sed -i '/^#!/d' ./pytz/tzfile.py
|
|||||||
touch pytz/tests/__init__.py
|
touch pytz/tests/__init__.py
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
# Replace custom data with symlink to /usr/share/zoneinfo
|
# Replace custom data with symlink to /usr/share/zoneinfo
|
||||||
%{python_expand rm -r %{buildroot}%{$python_sitelib}/pytz/zoneinfo
|
%{python_expand rm -r %{buildroot}%{$python_sitelib}/pytz/zoneinfo
|
||||||
ln -s %{_datadir}/zoneinfo %{buildroot}%{$python_sitelib}/pytz/zoneinfo
|
ln -s %{_datadir}/zoneinfo %{buildroot}%{$python_sitelib}/pytz/zoneinfo
|
||||||
@ -99,6 +86,6 @@ fi || :
|
|||||||
%license LICENSE.txt
|
%license LICENSE.txt
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/pytz
|
%{python_sitelib}/pytz
|
||||||
%{python_sitelib}/pytz-%{version}-py*.egg-info
|
%{python_sitelib}/pytz-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
pytz-2023.3.tar.gz
(Stored with Git LFS)
BIN
pytz-2023.3.tar.gz
(Stored with Git LFS)
Binary file not shown.
@ -1,6 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iF0EABECAB0WIQTH7MNlq28lXh65uhcB+pmPusY3SgUCZCO9OQAKCRAB+pmPusY3
|
|
||||||
SuqGAJ96Q/JnCSMkbB53e6ba2FC3ssLxNQCgmxQu20qp1Cuq39KWKupVMzYmR9I=
|
|
||||||
=UBDl
|
|
||||||
-----END PGP SIGNATURE-----
|
|
BIN
pytz-2024.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytz-2024.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user