update pytz to 2020.1

This commit is contained in:
eaglegai 2020-08-26 13:56:12 +08:00
parent f28ebafdd2
commit 94d4cfa479
4 changed files with 14 additions and 7 deletions

Binary file not shown.

BIN
pytz-2020.1.tar.gz Normal file

Binary file not shown.

View File

@ -40,7 +40,7 @@ index d217c96..2b1ac03 100644
--- pytz-2019.2/pytz/__init__.py~ 2019-07-31 12:32:00.000000000 -0500
+++ pytz-2019.2/pytz/__init__.py 2019-07-31 12:44:07.995969364 -0500
@@ -495,1044 +495,37 @@
@@ -495,1045 +495,37 @@
if __name__ == '__main__':
_test()
@ -220,6 +220,7 @@ index d217c96..2b1ac03 100644
- 'America/North_Dakota/Beulah',
- 'America/North_Dakota/Center',
- 'America/North_Dakota/New_Salem',
- 'America/Nuuk',
- 'America/Ojinaga',
- 'America/Panama',
- 'America/Pangnirtung',
@ -759,7 +760,6 @@ index d217c96..2b1ac03 100644
- 'America/Fort_Nelson',
- 'America/Fortaleza',
- 'America/Glace_Bay',
- 'America/Godthab',
- 'America/Goose_Bay',
- 'America/Grand_Turk',
- 'America/Grenada',
@ -813,6 +813,7 @@ index d217c96..2b1ac03 100644
- 'America/North_Dakota/Beulah',
- 'America/North_Dakota/Center',
- 'America/North_Dakota/New_Salem',
- 'America/Nuuk',
- 'America/Ojinaga',
- 'America/Panama',
- 'America/Pangnirtung',

View File

@ -1,14 +1,14 @@
Name: pytz
Version: 2019.3
Version: 2020.1
Release: 1
Summary: World Timezone Definitions for Python
License: MIT
URL: http://pytz.sourceforge.net/
Source0: https://github.com/stub42/pytz/archive/pytz-2019.3.tar.gz
Source0: https://files.pythonhosted.org/packages/f4/f6/94fee50f4d54f58637d4b9987a1b862aeb6cd969e73623e02c5c00755577/pytz-2020.1.tar.gz
Patch0: pytz-zoneinfo.patch
Patch1: remove_tzinfo_test.patch
Patch9000: 0001-modify-timezone-from-Macau-to-Macao.patch
Patch2: 0001-modify-timezone-from-Macau-to-Macao.patch
BuildArch: noarch
@ -61,17 +61,23 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} -m pytest -v
%files -n python2-pytz
%defattr(-,root,root)
%doc README.txt
%doc README.rst
%license LICENSE.txt
%{python2_sitelib}/*
%files -n python3-pytz
%defattr(-,root,root)
%doc README.txt
%doc README.rst
%license LICENSE.txt
%{python3_sitelib}/*
%changelog
* Wed Aug 26 2020 lunankun <lunankun@huawei.com> - 2020.1-1
- Type:requirement
- ID:NA
- SUG:NA
- DESC:update pytz to 2020.1
* Fri Apr 17 2020 zhangrui <zhangrui182@huawei.com> - 2019.3-1
- Type:update
- ID:NA