gcalcli does not work with later versions of oauthclient:
this was fixed by upstream install script:
But needs to be reflected in gentoo ebuild (until a long term solution is found).
Ebuild patch attached.
Gentoo ebuild doesn't currently depend on oauthclient, but perhaps this could be facilitated with an appropriate USE flag.
No patch currently attached, but passing to Rob anyway.
Created attachment 437352 [details, diff]
Sorry here is the patch.
In addition to this, it seem that dev-python/google-api-python-client-1.3.1 is needed, instead of the stable 1.5.0. With the stable version the following error occurs (non fatal):
# gcalcli agenda WARNING:root:No module named contrib.locked_file
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/googleapiclient/discovery_cache/__init__.py", line 38, in autodetect
from . import file_cache
File "/usr/lib64/python2.7/site-packages/googleapiclient/discovery_cache/file_cache.py", line 32, in <module>
from oauth2client.contrib.locked_file import LockedFile
ImportError: No module named contrib.locked_file
These seem to be related problems.
Created attachment 447274 [details, diff]
There's a workaround to fix that and doesn't need an specific version of oauth2client.
There goes the patch. Tested here with oauth2client-2.2.0 and working.
Thanks for the patch, this worked well for me.
However this does not seem to be a perfect solution (problems with newer auths):
This has been solved in the tree... not sure which release includes this patch however.
Looks like version 3.4.0 was released. Maybe adding ebuild for 3.4.0 solves this without forcing an old version of the library?
I've opened bug 613850 for a version bump to 3.4.0, including a fix for this too.