aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-05-15 17:11:48 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:40:25 +0700
commitf10b3bc8075850613795acb0f7dc45b493dcc687 (patch)
tree7dbf8fac58ddff8f0b77fe10358ae819797cafec
parentbc6e717300db1a91b64f5393432b68cc1cc6dd25 (diff)
python/google-api-python-client: Convert python to python2.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--python/google-api-python-client/google-api-python-client.SlackBuild2
-rw-r--r--python/google-api-python-client/google-api-python-client.info2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/google-api-python-client/google-api-python-client.SlackBuild b/python/google-api-python-client/google-api-python-client.SlackBuild
index 6fc51a455072..c9349a7b5431 100644
--- a/python/google-api-python-client/google-api-python-client.SlackBuild
+++ b/python/google-api-python-client/google-api-python-client.SlackBuild
@@ -72,7 +72,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-python setup.py install --root=$PKG
+python2 setup.py install --root=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG LICENSE README.md samples/ docs/ $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/python/google-api-python-client/google-api-python-client.info b/python/google-api-python-client/google-api-python-client.info
index e8df0c6912f3..002cae28a436 100644
--- a/python/google-api-python-client/google-api-python-client.info
+++ b/python/google-api-python-client/google-api-python-client.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/google/google-api-python-client/archive/v1.6.2.tar.
MD5SUM="fc4baf6123229ba1f82c74b6118c0acc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="httplib2 python-uri-templates python-oauth2client"
+REQUIRES="httplib2 python2-uri-templates python2-oauth2client"
MAINTAINER="Marcel Saegebarth"
EMAIL="marc@mos6581.de"