diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-29 19:27:57 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-29 19:27:57 +0000 |
commit | c0bf1c3fa38df2bf74ef4f17f8d14542c43917fa (patch) | |
tree | 663394466a91e63c071f16e457197b56f7052563 /dev-python/pytz/files | |
parent | ppc stable #281475 (diff) | |
download | gentoo-2-c0bf1c3fa38df2bf74ef4f17f8d14542c43917fa.tar.gz gentoo-2-c0bf1c3fa38df2bf74ef4f17f8d14542c43917fa.tar.bz2 gentoo-2-c0bf1c3fa38df2bf74ef4f17f8d14542c43917fa.zip |
Version bump. Set SUPPORT_PYTHON_ABIS.
(Portage version: 14170-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pytz/files')
-rw-r--r-- | dev-python/pytz/files/pytz-2008i-zoneinfo.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/dev-python/pytz/files/pytz-2008i-zoneinfo.patch b/dev-python/pytz/files/pytz-2008i-zoneinfo.patch deleted file mode 100644 index 07f51b149365..000000000000 --- a/dev-python/pytz/files/pytz-2008i-zoneinfo.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- python-tz-2008i.orig/pytz/__init__.py -+++ python-tz-2008i/pytz/__init__.py -@@ -49,15 +49,11 @@ - - Uses the pkg_resources module if available. - """ -- if resource_stream is not None: -- return resource_stream(__name__, 'zoneinfo/' + name) -- else: -- name_parts = name.lstrip('/').split('/') -- for part in name_parts: -- if part == os.path.pardir or os.path.sep in part: -- raise ValueError('Bad path segment: %r' % part) -- filename = os.path.join(os.path.dirname(__file__), -- 'zoneinfo', *name_parts) -- return open(filename, 'rb') -- -+ # use the system zoninfo from timezone-data -+ name_parts = name.lstrip('/').split('/') -+ for part in name_parts: -+ if part == os.path.pardir or os.path.sep in part: -+ raise ValueError('Bad path segment: %r' % part) -+ filename = os.path.join('/usr/share/zoneinfo', *name_parts) -+ return open(filename, 'rb') - |