www-apps/syncserver: new package (and deps) for Firefox Sync Server
This commit is contained in:
parent
ceb5871da9
commit
b1dc230fa4
98 changed files with 1907 additions and 0 deletions
14
dev-python/pytz/files/pytz-2009j-zoneinfo.patch
Normal file
14
dev-python/pytz/files/pytz-2009j-zoneinfo.patch
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
Use the system zoneinfo from sys-libs/timezone-data.
|
||||
|
||||
--- pytz/__init__.py
|
||||
+++ pytz/__init__.py
|
||||
@@ -54,8 +54,7 @@
|
||||
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)
|
||||
+ filename = os.path.join('/usr/share/zoneinfo', *name_parts)
|
||||
if not os.path.exists(filename) and resource_stream is not None:
|
||||
# http://bugs.launchpad.net/bugs/383171 - we avoid using this
|
||||
# unless absolutely necessary to help when a broken version of
|
||||
Loading…
Add table
Add a link
Reference in a new issue