From 29535d9d041637c7acf45848c104bb2fb71c4aa6 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Tue, 8 Nov 2016 09:31:08 -0700 Subject: [PATCH] Update to 2016.7 --- .gitignore | 1 + pytz-zoneinfo.patch | 22 ++++++---------------- pytz.spec | 5 ++++- sources | 2 +- 4 files changed, 12 insertions(+), 18 deletions(-) diff --git a/.gitignore b/.gitignore index a72f2d6..24a367d 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ pytz-2010h.tar.gz /pytz-2015.7.tar.gz /pytz-2016.4.tar.gz /pytz-2016.6.1.tar.gz +/pytz-2016.7.tar.gz diff --git a/pytz-zoneinfo.patch b/pytz-zoneinfo.patch index 6290b53..28deac5 100644 --- a/pytz-zoneinfo.patch +++ b/pytz-zoneinfo.patch @@ -1,14 +1,6 @@ ---- a/pytz/__init__.py -+++ b/pytz/__init__.py -@@ -13,7 +13,7 @@ OLSON_VERSION = '2016f' - VERSION = '2016.6.1' # Switching to pip compatible version numbering. - __version__ = VERSION - --OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling -+OLSEN_VERSION = OLSON_VERSION # Old releases had this misspelling - - __all__ = [ - 'timezone', 'utc', 'country_timezones', 'country_names', +diff -up pytz-2016.7/pytz/__init__.py.zoneinfo pytz-2016.7/pytz/__init__.py +--- pytz-2016.7/pytz/__init__.py.zoneinfo 2016-10-03 02:20:24.000000000 -0600 ++++ pytz-2016.7/pytz/__init__.py 2016-11-08 09:26:25.798196085 -0700 @@ -70,6 +70,10 @@ else: # Python 2.x """ return s.encode('ASCII') @@ -41,7 +33,7 @@ return open(filename, 'rb') -@@ -490,1037 +483,38 @@ def _test(): +@@ -490,1038 +483,35 @@ def _test(): if __name__ == '__main__': _test() @@ -371,6 +363,7 @@ - 'Asia/Vientiane', - 'Asia/Vladivostok', - 'Asia/Yakutsk', +- 'Asia/Yangon', - 'Asia/Yekaterinburg', - 'Asia/Yerevan', - 'Atlantic/Azores', @@ -644,8 +637,6 @@ + for tz_file in files + if tz_file != 'README' and tz_file != 'Theory' + and '.' not in tz_file) -+ -+ all_timezones = LazyList( tz for tz in all_timezones if resource_exists(tz)) - @@ -919,7 +910,6 @@ - 'Asia/Pyongyang', - 'Asia/Qatar', - 'Asia/Qyzylorda', -- 'Asia/Rangoon', - 'Asia/Riyadh', - 'Asia/Sakhalin', - 'Asia/Samarkand', @@ -940,6 +930,7 @@ - 'Asia/Vientiane', - 'Asia/Vladivostok', - 'Asia/Yakutsk', +- 'Asia/Yangon', - 'Asia/Yekaterinburg', - 'Asia/Yerevan', - 'Atlantic/Azores', @@ -1102,7 +1093,6 @@ + 'US/Mountain', + 'US/Pacific', + 'UTC']) -+ common_timezones = LazyList( tz for tz in common_timezones if tz in all_timezones) - diff --git a/pytz.spec b/pytz.spec index 6acfd3e..7c710a6 100644 --- a/pytz.spec +++ b/pytz.spec @@ -5,7 +5,7 @@ %endif Name: pytz -Version: 2016.6.1 +Version: 2016.7 Release: 1%{?dist} Summary: World Timezone Definitions for Python @@ -96,6 +96,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v %changelog +* Tue Nov 8 2016 Orion Poplawski - 2016.7-1 +- Update to 2016.7 + * Thu Jul 21 2016 Matěj Cepl - 2016.6.1-1 - Update to 2016.6.1 (RHBZ #1356337) - Fix Source0 URL to override a change in PyPI URLs (see diff --git a/sources b/sources index fd0ef11..1174e4b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b6c28a3b968bc1d8badfb61b93874e03 pytz-2016.6.1.tar.gz +8660ba7c3c0abd23e6e4efa493b02966 pytz-2016.7.tar.gz