Accepting request 538429 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/538429 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytz?expand=0&rev=26
This commit is contained in:
commit
be4399319a
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 2 03:10:52 UTC 2017 - arun@gmx.de
|
||||
|
||||
- updated system_zoneinfo.patch
|
||||
|
||||
- update to version 2017.3:
|
||||
* PYTZ_TZDATADIR environment variable override of database location
|
||||
* Allow pickles from Python2 to be unpickled with Python3
|
||||
* Remove unmaintained CHANGES.txt
|
||||
* Test with Python 3.6
|
||||
* Detect compiled tzfiles by sniffing magic
|
||||
* Squashed 'tz/' changes from f8ebe3a64..e6ff702de
|
||||
* Be explicit about supported Python versions
|
||||
* Fixed README.txt to not issue warnings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 28 12:07:24 UTC 2017 - tbechtold@suse.com
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
%define oldpython python
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytz
|
||||
Version: 2017.2
|
||||
Version: 2017.3
|
||||
Release: 0
|
||||
Summary: World timezone definitions, modern and historical
|
||||
License: MIT
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f5c056e8f62d45ba8215e5cb8f50dfccb198b4b9fbea8500674f3443e4689589
|
||||
size 502168
|
@ -1,7 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEABECAAYFAljcw1wACgkQAfqZj7rGN0r+EgCcCm8zIZ/sk27xLRMFWsPCN+cI
|
||||
8o4AniaRsoJ4gVx31u9dJvU14K4pqalE
|
||||
=Q5A8
|
||||
-----END PGP SIGNATURE-----
|
3
pytz-2017.3.zip
Normal file
3
pytz-2017.3.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fae4cffc040921b8a2d60c6cf0b5d662c1190fe54d718271db4eb17d44a185b7
|
||||
size 527977
|
7
pytz-2017.3.zip.asc
Normal file
7
pytz-2017.3.zip.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2
|
||||
|
||||
iEYEABECAAYFAln3MrQACgkQAfqZj7rGN0pzowCggUYhB+WYN2w6SPryflzhs1II
|
||||
HxQAn1a0zf16Al5FA4ATvq4R26PDThut
|
||||
=qZkB
|
||||
-----END PGP SIGNATURE-----
|
@ -2,10 +2,14 @@ Index: pytz-2016.10/pytz/__init__.py
|
||||
===================================================================
|
||||
--- pytz-2016.10.orig/pytz/__init__.py
|
||||
+++ pytz-2016.10/pytz/__init__.py
|
||||
@@ -81,19 +81,7 @@ def open_resource(name):
|
||||
@@ -87,23 +87,7 @@ def open_resource(name):
|
||||
for part in name_parts:
|
||||
if part == os.path.pardir or os.path.sep in part:
|
||||
raise ValueError('Bad path segment: %r' % part)
|
||||
- zoneinfo_dir = os.environ.get('PYTZ_TZDATADIR', None)
|
||||
- if zoneinfo_dir != None:
|
||||
- filename = os.path.join(zoneinfo_dir, *name_parts)
|
||||
- else:
|
||||
- filename = os.path.join(os.path.dirname(__file__),
|
||||
- 'zoneinfo', *name_parts)
|
||||
- if not os.path.exists(filename):
|
||||
|
Loading…
Reference in New Issue
Block a user