2022.2
This commit is contained in:
parent
4787c1f9eb
commit
dd0a7df730
1
.gitignore
vendored
1
.gitignore
vendored
@ -18,3 +18,4 @@ pytz-2010h.tar.gz
|
|||||||
/pytz-2021.1.tar.gz
|
/pytz-2021.1.tar.gz
|
||||||
/pytz-2021.3.tar.gz
|
/pytz-2021.3.tar.gz
|
||||||
/pytz-2022.1.tar.gz
|
/pytz-2022.1.tar.gz
|
||||||
|
/pytz-2022.2.tar.gz
|
||||||
|
@ -12,9 +12,11 @@ index e2f49fa..65c1d11 100644
|
|||||||
|
|
||||||
def open_resource(name):
|
def open_resource(name):
|
||||||
"""Open a resource from the zoneinfo subdir for reading.
|
"""Open a resource from the zoneinfo subdir for reading.
|
||||||
@@ -88,23 +91,8 @@ def open_resource(name):
|
--- pytz-2022.2/pytz/__init__.py~ 2022-08-12 08:18:18.284242046 -0500
|
||||||
|
+++ pytz-2022.2/pytz/__init__.py 2022-08-12 08:40:34.523880888 -0500
|
||||||
|
@@ -91,23 +91,8 @@
|
||||||
for part in name_parts:
|
for part in name_parts:
|
||||||
if part == os.path.pardir or os.path.sep in part:
|
if part == os.path.pardir or os.sep in part:
|
||||||
raise ValueError('Bad path segment: %r' % part)
|
raise ValueError('Bad path segment: %r' % part)
|
||||||
- zoneinfo_dir = os.environ.get('PYTZ_TZDATADIR', None)
|
- zoneinfo_dir = os.environ.get('PYTZ_TZDATADIR', None)
|
||||||
- if zoneinfo_dir is not None:
|
- if zoneinfo_dir is not None:
|
||||||
@ -38,9 +40,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
return open(filename, 'rb')
|
return open(filename, 'rb')
|
||||||
|
|
||||||
|
|
||||||
--- a/pytz/__init__.py~ 2021-10-04 09:16:08.981477792 -0500
|
@@ -517,1064 +502,37 @@
|
||||||
+++ b/pytz/__init__.py 2021-10-04 11:29:19.283758542 -0500
|
|
||||||
@@ -502,1045 +502,37 @@
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
_test()
|
_test()
|
||||||
@ -310,6 +310,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Asia/Dushanbe',
|
- 'Asia/Dushanbe',
|
||||||
- 'Asia/Famagusta',
|
- 'Asia/Famagusta',
|
||||||
- 'Asia/Gaza',
|
- 'Asia/Gaza',
|
||||||
|
- 'Asia/Hanoi',
|
||||||
- 'Asia/Harbin',
|
- 'Asia/Harbin',
|
||||||
- 'Asia/Hebron',
|
- 'Asia/Hebron',
|
||||||
- 'Asia/Ho_Chi_Minh',
|
- 'Asia/Ho_Chi_Minh',
|
||||||
@ -494,6 +495,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Europe/Kaliningrad',
|
- 'Europe/Kaliningrad',
|
||||||
- 'Europe/Kiev',
|
- 'Europe/Kiev',
|
||||||
- 'Europe/Kirov',
|
- 'Europe/Kirov',
|
||||||
|
- 'Europe/Kyiv',
|
||||||
- 'Europe/Lisbon',
|
- 'Europe/Lisbon',
|
||||||
- 'Europe/Ljubljana',
|
- 'Europe/Ljubljana',
|
||||||
- 'Europe/London',
|
- 'Europe/London',
|
||||||
@ -704,6 +706,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Africa/Ouagadougou',
|
- 'Africa/Ouagadougou',
|
||||||
- 'Africa/Porto-Novo',
|
- 'Africa/Porto-Novo',
|
||||||
- 'Africa/Sao_Tome',
|
- 'Africa/Sao_Tome',
|
||||||
|
- 'Africa/Timbuktu',
|
||||||
- 'Africa/Tripoli',
|
- 'Africa/Tripoli',
|
||||||
- 'Africa/Tunis',
|
- 'Africa/Tunis',
|
||||||
- 'Africa/Windhoek',
|
- 'Africa/Windhoek',
|
||||||
@ -714,6 +717,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'America/Araguaina',
|
- 'America/Araguaina',
|
||||||
- 'America/Argentina/Buenos_Aires',
|
- 'America/Argentina/Buenos_Aires',
|
||||||
- 'America/Argentina/Catamarca',
|
- 'America/Argentina/Catamarca',
|
||||||
|
- 'America/Argentina/ComodRivadavia',
|
||||||
- 'America/Argentina/Cordoba',
|
- 'America/Argentina/Cordoba',
|
||||||
- 'America/Argentina/Jujuy',
|
- 'America/Argentina/Jujuy',
|
||||||
- 'America/Argentina/La_Rioja',
|
- 'America/Argentina/La_Rioja',
|
||||||
@ -744,6 +748,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'America/Cayman',
|
- 'America/Cayman',
|
||||||
- 'America/Chicago',
|
- 'America/Chicago',
|
||||||
- 'America/Chihuahua',
|
- 'America/Chihuahua',
|
||||||
|
- 'America/Coral_Harbour',
|
||||||
- 'America/Costa_Rica',
|
- 'America/Costa_Rica',
|
||||||
- 'America/Creston',
|
- 'America/Creston',
|
||||||
- 'America/Cuiaba',
|
- 'America/Cuiaba',
|
||||||
@ -757,6 +762,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'America/Edmonton',
|
- 'America/Edmonton',
|
||||||
- 'America/Eirunepe',
|
- 'America/Eirunepe',
|
||||||
- 'America/El_Salvador',
|
- 'America/El_Salvador',
|
||||||
|
- 'America/Ensenada',
|
||||||
- 'America/Fort_Nelson',
|
- 'America/Fort_Nelson',
|
||||||
- 'America/Fortaleza',
|
- 'America/Fortaleza',
|
||||||
- 'America/Glace_Bay',
|
- 'America/Glace_Bay',
|
||||||
@ -804,6 +810,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'America/Moncton',
|
- 'America/Moncton',
|
||||||
- 'America/Monterrey',
|
- 'America/Monterrey',
|
||||||
- 'America/Montevideo',
|
- 'America/Montevideo',
|
||||||
|
- 'America/Montreal',
|
||||||
- 'America/Montserrat',
|
- 'America/Montserrat',
|
||||||
- 'America/Nassau',
|
- 'America/Nassau',
|
||||||
- 'America/New_York',
|
- 'America/New_York',
|
||||||
@ -830,6 +837,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'America/Regina',
|
- 'America/Regina',
|
||||||
- 'America/Resolute',
|
- 'America/Resolute',
|
||||||
- 'America/Rio_Branco',
|
- 'America/Rio_Branco',
|
||||||
|
- 'America/Rosario',
|
||||||
- 'America/Santarem',
|
- 'America/Santarem',
|
||||||
- 'America/Santiago',
|
- 'America/Santiago',
|
||||||
- 'America/Santo_Domingo',
|
- 'America/Santo_Domingo',
|
||||||
@ -884,6 +892,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Asia/Brunei',
|
- 'Asia/Brunei',
|
||||||
- 'Asia/Chita',
|
- 'Asia/Chita',
|
||||||
- 'Asia/Choibalsan',
|
- 'Asia/Choibalsan',
|
||||||
|
- 'Asia/Chongqing',
|
||||||
- 'Asia/Colombo',
|
- 'Asia/Colombo',
|
||||||
- 'Asia/Damascus',
|
- 'Asia/Damascus',
|
||||||
- 'Asia/Dhaka',
|
- 'Asia/Dhaka',
|
||||||
@ -892,6 +901,8 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Asia/Dushanbe',
|
- 'Asia/Dushanbe',
|
||||||
- 'Asia/Famagusta',
|
- 'Asia/Famagusta',
|
||||||
- 'Asia/Gaza',
|
- 'Asia/Gaza',
|
||||||
|
- 'Asia/Hanoi',
|
||||||
|
- 'Asia/Harbin',
|
||||||
- 'Asia/Hebron',
|
- 'Asia/Hebron',
|
||||||
- 'Asia/Ho_Chi_Minh',
|
- 'Asia/Ho_Chi_Minh',
|
||||||
- 'Asia/Hong_Kong',
|
- 'Asia/Hong_Kong',
|
||||||
@ -903,6 +914,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Asia/Kabul',
|
- 'Asia/Kabul',
|
||||||
- 'Asia/Kamchatka',
|
- 'Asia/Kamchatka',
|
||||||
- 'Asia/Karachi',
|
- 'Asia/Karachi',
|
||||||
|
- 'Asia/Kashgar',
|
||||||
- 'Asia/Kathmandu',
|
- 'Asia/Kathmandu',
|
||||||
- 'Asia/Khandyga',
|
- 'Asia/Khandyga',
|
||||||
- 'Asia/Kolkata',
|
- 'Asia/Kolkata',
|
||||||
@ -937,6 +949,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Asia/Tashkent',
|
- 'Asia/Tashkent',
|
||||||
- 'Asia/Tbilisi',
|
- 'Asia/Tbilisi',
|
||||||
- 'Asia/Tehran',
|
- 'Asia/Tehran',
|
||||||
|
- 'Asia/Tel_Aviv',
|
||||||
- 'Asia/Thimphu',
|
- 'Asia/Thimphu',
|
||||||
- 'Asia/Tokyo',
|
- 'Asia/Tokyo',
|
||||||
- 'Asia/Tomsk',
|
- 'Asia/Tomsk',
|
||||||
@ -954,6 +967,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Atlantic/Canary',
|
- 'Atlantic/Canary',
|
||||||
- 'Atlantic/Cape_Verde',
|
- 'Atlantic/Cape_Verde',
|
||||||
- 'Atlantic/Faroe',
|
- 'Atlantic/Faroe',
|
||||||
|
- 'Atlantic/Jan_Mayen',
|
||||||
- 'Atlantic/Madeira',
|
- 'Atlantic/Madeira',
|
||||||
- 'Atlantic/Reykjavik',
|
- 'Atlantic/Reykjavik',
|
||||||
- 'Atlantic/South_Georgia',
|
- 'Atlantic/South_Georgia',
|
||||||
@ -962,6 +976,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Australia/Adelaide',
|
- 'Australia/Adelaide',
|
||||||
- 'Australia/Brisbane',
|
- 'Australia/Brisbane',
|
||||||
- 'Australia/Broken_Hill',
|
- 'Australia/Broken_Hill',
|
||||||
|
- 'Australia/Currie',
|
||||||
- 'Australia/Darwin',
|
- 'Australia/Darwin',
|
||||||
- 'Australia/Eucla',
|
- 'Australia/Eucla',
|
||||||
- 'Australia/Hobart',
|
- 'Australia/Hobart',
|
||||||
@ -980,6 +995,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Europe/Andorra',
|
- 'Europe/Andorra',
|
||||||
- 'Europe/Astrakhan',
|
- 'Europe/Astrakhan',
|
||||||
- 'Europe/Athens',
|
- 'Europe/Athens',
|
||||||
|
- 'Europe/Belfast',
|
||||||
- 'Europe/Belgrade',
|
- 'Europe/Belgrade',
|
||||||
- 'Europe/Berlin',
|
- 'Europe/Berlin',
|
||||||
- 'Europe/Bratislava',
|
- 'Europe/Bratislava',
|
||||||
@ -997,8 +1013,8 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Europe/Istanbul',
|
- 'Europe/Istanbul',
|
||||||
- 'Europe/Jersey',
|
- 'Europe/Jersey',
|
||||||
- 'Europe/Kaliningrad',
|
- 'Europe/Kaliningrad',
|
||||||
- 'Europe/Kiev',
|
|
||||||
- 'Europe/Kirov',
|
- 'Europe/Kirov',
|
||||||
|
- 'Europe/Kyiv',
|
||||||
- 'Europe/Lisbon',
|
- 'Europe/Lisbon',
|
||||||
- 'Europe/Ljubljana',
|
- 'Europe/Ljubljana',
|
||||||
- 'Europe/London',
|
- 'Europe/London',
|
||||||
@ -1025,6 +1041,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Europe/Stockholm',
|
- 'Europe/Stockholm',
|
||||||
- 'Europe/Tallinn',
|
- 'Europe/Tallinn',
|
||||||
- 'Europe/Tirane',
|
- 'Europe/Tirane',
|
||||||
|
- 'Europe/Tiraspol',
|
||||||
- 'Europe/Ulyanovsk',
|
- 'Europe/Ulyanovsk',
|
||||||
- 'Europe/Uzhgorod',
|
- 'Europe/Uzhgorod',
|
||||||
- 'Europe/Vaduz',
|
- 'Europe/Vaduz',
|
||||||
@ -1055,6 +1072,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Pacific/Chuuk',
|
- 'Pacific/Chuuk',
|
||||||
- 'Pacific/Easter',
|
- 'Pacific/Easter',
|
||||||
- 'Pacific/Efate',
|
- 'Pacific/Efate',
|
||||||
|
- 'Pacific/Enderbury',
|
||||||
- 'Pacific/Fakaofo',
|
- 'Pacific/Fakaofo',
|
||||||
- 'Pacific/Fiji',
|
- 'Pacific/Fiji',
|
||||||
- 'Pacific/Funafuti',
|
- 'Pacific/Funafuti',
|
||||||
@ -1063,6 +1081,7 @@ index e2f49fa..65c1d11 100644
|
|||||||
- 'Pacific/Guadalcanal',
|
- 'Pacific/Guadalcanal',
|
||||||
- 'Pacific/Guam',
|
- 'Pacific/Guam',
|
||||||
- 'Pacific/Honolulu',
|
- 'Pacific/Honolulu',
|
||||||
|
- 'Pacific/Johnston',
|
||||||
- 'Pacific/Kanton',
|
- 'Pacific/Kanton',
|
||||||
- 'Pacific/Kiritimati',
|
- 'Pacific/Kiritimati',
|
||||||
- 'Pacific/Kosrae',
|
- 'Pacific/Kosrae',
|
||||||
|
@ -8,11 +8,11 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Allow build without test
|
# Allow build without test
|
||||||
%bcond_without tests
|
%bcond_with tests
|
||||||
|
|
||||||
Name: pytz
|
Name: pytz
|
||||||
Version: 2022.1
|
Version: 2022.2
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: World Timezone Definitions for Python
|
Summary: World Timezone Definitions for Python
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -108,6 +108,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 12 2022 Gwyn Ciesla <gwync@protonmail.com> - 2022.2-1
|
||||||
|
- 2022.2
|
||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1-3
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2022.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (pytz-2022.1.tar.gz) = 7737aa28626743026b7de932b27bf44d7b209f495d9dd7f90c6448ec271e007f23004fcd04982e2ca6d0a4075206e1dae7b8836319c299b5559c514366d518a6
|
SHA512 (pytz-2022.2.tar.gz) = 7a908801585f95dc7e19756b454b38ca991e3c280ab4d946152ff0ecfb5ac89e266b21c5a165797ec64c9aaaaadf729f935d7eebd3f918df3143bd68b23876cf
|
||||||
|
Loading…
Reference in New Issue
Block a user