Update to 2016.7

This commit is contained in:
Orion Poplawski 2016-11-08 09:31:08 -07:00
parent 8686bd9e27
commit 29535d9d04
4 changed files with 12 additions and 18 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ pytz-2010h.tar.gz
/pytz-2015.7.tar.gz /pytz-2015.7.tar.gz
/pytz-2016.4.tar.gz /pytz-2016.4.tar.gz
/pytz-2016.6.1.tar.gz /pytz-2016.6.1.tar.gz
/pytz-2016.7.tar.gz

View File

@ -1,14 +1,6 @@
--- a/pytz/__init__.py diff -up pytz-2016.7/pytz/__init__.py.zoneinfo pytz-2016.7/pytz/__init__.py
+++ b/pytz/__init__.py --- pytz-2016.7/pytz/__init__.py.zoneinfo 2016-10-03 02:20:24.000000000 -0600
@@ -13,7 +13,7 @@ OLSON_VERSION = '2016f' +++ pytz-2016.7/pytz/__init__.py 2016-11-08 09:26:25.798196085 -0700
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',
@@ -70,6 +70,10 @@ else: # Python 2.x @@ -70,6 +70,10 @@ else: # Python 2.x
""" """
return s.encode('ASCII') return s.encode('ASCII')
@ -41,7 +33,7 @@
return open(filename, 'rb') return open(filename, 'rb')
@@ -490,1037 +483,38 @@ def _test(): @@ -490,1038 +483,35 @@ def _test():
if __name__ == '__main__': if __name__ == '__main__':
_test() _test()
@ -371,6 +363,7 @@
- 'Asia/Vientiane', - 'Asia/Vientiane',
- 'Asia/Vladivostok', - 'Asia/Vladivostok',
- 'Asia/Yakutsk', - 'Asia/Yakutsk',
- 'Asia/Yangon',
- 'Asia/Yekaterinburg', - 'Asia/Yekaterinburg',
- 'Asia/Yerevan', - 'Asia/Yerevan',
- 'Atlantic/Azores', - 'Atlantic/Azores',
@ -644,8 +637,6 @@
+ for tz_file in files + for tz_file in files
+ if tz_file != 'README' and tz_file != 'Theory' + if tz_file != 'README' and tz_file != 'Theory'
+ and '.' not in tz_file) + and '.' not in tz_file)
+
+
all_timezones = LazyList( all_timezones = LazyList(
tz for tz in all_timezones if resource_exists(tz)) tz for tz in all_timezones if resource_exists(tz))
- -
@ -919,7 +910,6 @@
- 'Asia/Pyongyang', - 'Asia/Pyongyang',
- 'Asia/Qatar', - 'Asia/Qatar',
- 'Asia/Qyzylorda', - 'Asia/Qyzylorda',
- 'Asia/Rangoon',
- 'Asia/Riyadh', - 'Asia/Riyadh',
- 'Asia/Sakhalin', - 'Asia/Sakhalin',
- 'Asia/Samarkand', - 'Asia/Samarkand',
@ -940,6 +930,7 @@
- 'Asia/Vientiane', - 'Asia/Vientiane',
- 'Asia/Vladivostok', - 'Asia/Vladivostok',
- 'Asia/Yakutsk', - 'Asia/Yakutsk',
- 'Asia/Yangon',
- 'Asia/Yekaterinburg', - 'Asia/Yekaterinburg',
- 'Asia/Yerevan', - 'Asia/Yerevan',
- 'Atlantic/Azores', - 'Atlantic/Azores',
@ -1102,7 +1093,6 @@
+ 'US/Mountain', + 'US/Mountain',
+ 'US/Pacific', + 'US/Pacific',
+ 'UTC']) + 'UTC'])
+
common_timezones = LazyList( common_timezones = LazyList(
tz for tz in common_timezones if tz in all_timezones) tz for tz in common_timezones if tz in all_timezones)
- -

View File

@ -5,7 +5,7 @@
%endif %endif
Name: pytz Name: pytz
Version: 2016.6.1 Version: 2016.7
Release: 1%{?dist} Release: 1%{?dist}
Summary: World Timezone Definitions for Python Summary: World Timezone Definitions for Python
@ -96,6 +96,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
%changelog %changelog
* Tue Nov 8 2016 Orion Poplawski <orion@cora.nwra.com> - 2016.7-1
- Update to 2016.7
* Thu Jul 21 2016 Matěj Cepl <mcepl@redhat.com> - 2016.6.1-1 * Thu Jul 21 2016 Matěj Cepl <mcepl@redhat.com> - 2016.6.1-1
- Update to 2016.6.1 (RHBZ #1356337) - Update to 2016.6.1 (RHBZ #1356337)
- Fix Source0 URL to override a change in PyPI URLs (see - Fix Source0 URL to override a change in PyPI URLs (see

View File

@ -1 +1 @@
b6c28a3b968bc1d8badfb61b93874e03 pytz-2016.6.1.tar.gz 8660ba7c3c0abd23e6e4efa493b02966 pytz-2016.7.tar.gz