Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 352766 Details for
Bug 449916
app-misc/goobook-1.4 ebuild problems
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to goobook-1.4 for >=hcs-utils-1.3
goobook-1.4-hcs-utils-1.3.patch (text/plain), 2.40 KB, created by
Justin Snelgrove
on 2013-07-07 03:43:05 UTC
(
hide
)
Description:
Patch to goobook-1.4 for >=hcs-utils-1.3
Filename:
MIME Type:
Creator:
Justin Snelgrove
Created:
2013-07-07 03:43:05 UTC
Size:
2.40 KB
patch
obsolete
>diff -uNr goobook-1.4.old/goobook/goobook.py goobook-1.4/goobook/goobook.py >--- goobook-1.4.old/goobook/goobook.py 2012-11-10 08:00:44.000000000 -0500 >+++ goobook-1.4/goobook/goobook.py 2013-07-06 23:27:02.091729438 -0400 >@@ -37,11 +37,11 @@ > import time > import xml.etree.ElementTree as ET > >-from hcs_utils.storage import Storage >+from hcs_utils.storage import Storage, storageify, unstorageify > > log = logging.getLogger(__name__) > >-CACHE_FORMAT_VERSION = '3.2' >+CACHE_FORMAT_VERSION = '4.0' > G_MAX_SRESULTS = 9999 # Maximum number of entries to ask google for. > GDATA_VERSION = '3' > ATOM_NS = '{http://www.w3.org/2005/Atom}' >@@ -243,8 +243,8 @@ > log.info('Failed to read the cache file: %s', err) > raise > if cache: >- self.contacts = cache.get('contacts') >- self.groups = cache.get('groups') >+ self.contacts = storageify(cache.get('contacts')) >+ self.groups = storageify(cache.get('groups')) > else: > self.update() > if not self.contacts: >@@ -262,7 +262,7 @@ > > """ > if self.contacts: # never write a empty addressbook >- cache = {'contacts': self.contacts, 'groups': self.groups, 'goobook_cache': CACHE_FORMAT_VERSION} >+ cache = {'contacts': unstorageify(self.contacts), 'groups': unstorageify(self.groups), 'goobook_cache': CACHE_FORMAT_VERSION} > pickle.dump(cache, open(self.__config.cache_filename, 'wb')) > > def get_group(self, id_): >diff -uNr goobook-1.4.old/goobook.egg-info/requires.txt goobook-1.4/goobook.egg-info/requires.txt >--- goobook-1.4.old/goobook.egg-info/requires.txt 2012-11-10 08:01:54.000000000 -0500 >+++ goobook-1.4/goobook.egg-info/requires.txt 2013-07-06 23:29:30.206725062 -0400 >@@ -1,6 +1,5 @@ >-argparse>=1.1 > distribute > gdata>=2.0.7 >-hcs_utils==1.1.1 >+hcs_utils>=1.3 > simplejson>=2.1.0 > keyring>=0.2 >\ No newline at end of file >diff -uNr goobook-1.4.old/setup.py goobook-1.4/setup.py >--- goobook-1.4.old/setup.py 2012-11-10 08:00:44.000000000 -0500 >+++ goobook-1.4/setup.py 2013-07-06 23:27:45.351728160 -0400 >@@ -58,10 +58,9 @@ > """.splitlines() if f.strip()], > license = 'GPLv3', > install_requires = [ >- 'argparse>=1.1', > 'distribute', > 'gdata>=2.0.7', >- 'hcs_utils==1.1.1', >+ 'hcs_utils>=1.3', > 'simplejson>=2.1.0', > 'keyring>=0.2'], > packages = find_packages(),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 449916
: 352766 |
352768
|
352802