This commit is contained in:
Gwyn Ciesla 2021-10-04 12:25:33 -05:00
parent 0c1a754602
commit 4593ecb57e
4 changed files with 13 additions and 6 deletions

1
.gitignore vendored
View File

@ -16,3 +16,4 @@ pytz-2010h.tar.gz
/pytz-2020.4.tar.gz
/pytz-2020.5.tar.gz
/pytz-2021.1.tar.gz
/pytz-2021.3.tar.gz

View File

@ -38,7 +38,9 @@ index e2f49fa..65c1d11 100644
return open(filename, 'rb')
@@ -514,1044 +502,38 @@ def _test():
--- a/pytz/__init__.py~ 2021-10-04 09:16:08.981477792 -0500
+++ b/pytz/__init__.py 2021-10-04 11:29:19.283758542 -0500
@@ -502,1045 +502,37 @@
if __name__ == '__main__':
_test()
@ -586,6 +588,7 @@ index e2f49fa..65c1d11 100644
- 'Pacific/Guam',
- 'Pacific/Honolulu',
- 'Pacific/Johnston',
- 'Pacific/Kanton',
- 'Pacific/Kiritimati',
- 'Pacific/Kosrae',
- 'Pacific/Kwajalein',
@ -636,7 +639,6 @@ index e2f49fa..65c1d11 100644
- 'W-SU',
- 'WET',
- 'Zulu']
+
+all_timezones = []
+for root, dirs, files in os.walk(_tzinfo_dir):
+ for exclude in 'posix', 'right':
@ -1053,7 +1055,6 @@ index e2f49fa..65c1d11 100644
- 'Pacific/Chuuk',
- 'Pacific/Easter',
- 'Pacific/Efate',
- 'Pacific/Enderbury',
- 'Pacific/Fakaofo',
- 'Pacific/Fiji',
- 'Pacific/Funafuti',
@ -1062,6 +1063,7 @@ index e2f49fa..65c1d11 100644
- 'Pacific/Guadalcanal',
- 'Pacific/Guam',
- 'Pacific/Honolulu',
- 'Pacific/Kanton',
- 'Pacific/Kiritimati',
- 'Pacific/Kosrae',
- 'Pacific/Kwajalein',

View File

@ -11,8 +11,8 @@
%bcond_without tests
Name: pytz
Version: 2021.1
Release: 4%{?dist}
Version: 2021.3
Release: 1%{?dist}
Summary: World Timezone Definitions for Python
License: MIT
@ -24,6 +24,7 @@ Patch0: pytz-zoneinfo.patch
Patch1: remove_tzinfo_test.patch
BuildArch: noarch
BuildRequires: tzdata
%global _description\
pytz brings the Olson tz database into Python. This library allows accurate\
@ -107,6 +108,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
%changelog
* Mon Oct 04 2021 Gwyn Ciesla <gwync@protonmail.com> - 2021.3-1
- 2021.3
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2021.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (pytz-2021.1.tar.gz) = 507e24e3c5c2c619d9f3c7f4c33d44d262e33656b07701d0db78f5d67b263ad845dccc4ff50e48c580b0f295cf97ed146af7b9259890a50bb6da4c82b70c439b
SHA512 (pytz-2021.3.tar.gz) = c45099f319592976b7715d9973496a2c7438a1b958ef8b90a1ad1fb97e7035624fe6191796727d4b7edf3236271bea4d864e25d1d92431e8cf767ac798448882