summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-02-05 16:40:28 +0100
committerMichał Górny <mgorny@gentoo.org>2020-02-05 16:47:48 +0100
commitde8abe825643d1a22ab3885d1fd2bd628c673178 (patch)
tree183984dc6e8e78d5973153ad6e7f2a97440dfbb1 /app-misc/gcalcli/files
parentprofiles/base: Mask dev-python/weboob[X] due to deps (diff)
downloadgentoo-de8abe825643d1a22ab3885d1fd2bd628c673178.tar.gz
gentoo-de8abe825643d1a22ab3885d1fd2bd628c673178.tar.bz2
gentoo-de8abe825643d1a22ab3885d1fd2bd628c673178.zip
app-misc/gcalcli: Remove old (py2)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-misc/gcalcli/files')
-rw-r--r--app-misc/gcalcli/files/gcalcli-oauth2client.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/app-misc/gcalcli/files/gcalcli-oauth2client.patch b/app-misc/gcalcli/files/gcalcli-oauth2client.patch
deleted file mode 100644
index 2ad7a2981f82..000000000000
--- a/app-misc/gcalcli/files/gcalcli-oauth2client.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/gcalcli-3.3.2/gcalcli 2015-09-14 02:26:55.000000000 -0300
-+++ b/gcalcli-3.3.2/gcalcli 2016-09-21 00:20:45.817051537 -0300
-@@ -190,7 +190,8 @@
- from apiclient.errors import HttpError
- from oauth2client.file import Storage
- from oauth2client.client import OAuth2WebServerFlow
-- from oauth2client.tools import run
-+ from oauth2client.tools import run_flow
-+ from oauth2client.tools import argparser
- except ImportError as e:
- print "ERROR: Missing module - %s" % e.args[0]
- sys.exit(1)
-@@ -665,14 +666,15 @@
- credentials = storage.get()
-
- if credentials is None or credentials.invalid:
-- credentials = run(
-+ args, unknown = argparser.parse_known_args(sys.argv)
-+ credentials = run_flow(
- OAuth2WebServerFlow(
- client_id=self.client_id,
- client_secret=self.client_secret,
- scope=['https://www.googleapis.com/auth/calendar',
- 'https://www.googleapis.com/auth/urlshortener'],
- user_agent=__program__ + '/' + __version__),
-- storage)
-+ storage,args)
-
- self.authHttp = credentials.authorize(httplib2.Http())
-