!7 update to pytz-2020.1

Merge pull request !7 from lunankun/master
This commit is contained in:
openeuler-ci-bot 2020-07-27 20:51:32 +08:00 committed by Gitee
commit 72e5bc968c
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,10 +1,10 @@
Name: pytz
Version: 2019.2
Release: 2
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.2.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
@ -63,17 +63,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
* Mon Jul 27 2020 lunankun <lunankun@huawei.com> - 2020.1-1
- Type:update
- ID:NA
- SUG:reboot
- DESC:update to pytz-2020.1
* Tue Jan 21 2020 openEuler Buildteam <buildteam@openeuler.org> - 2019.2-2
- Type:bugfix
- ID:NA