From a3349e15365891d612f1530ef086bbb3d8cc15ee Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Sun, 13 Nov 2016 10:32:12 -0500 Subject: [PATCH] python-google-api-python-client: fix permissions Some files are not world/all readable when extracted, so chmod them. Closes #5166. --- srcpkgs/python-google-api-python-client/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python-google-api-python-client/template b/srcpkgs/python-google-api-python-client/template index 1404013651f..1227cefb4ba 100644 --- a/srcpkgs/python-google-api-python-client/template +++ b/srcpkgs/python-google-api-python-client/template @@ -1,7 +1,7 @@ # Template file for 'python-google-api-python-client' pkgname=python-google-api-python-client version=1.5.5 -revision=1 +revision=2 noarch=yes wrksrc="${pkgname#*-}-${version}" build_style=python-module @@ -15,6 +15,11 @@ homepage="https://github.com/google/google-api-python-client/" distfiles="${PYPI_SITE}/g/google-api-python-client/google-api-python-client-${version}.tar.gz" checksum=c9f6bf15c76b05a3c2e301a5509e97f11c5902fb6b03dcb7faf5b5337c66f557 +post_extract() { + # fix permissions + chmod -R go+rX . +} + python3-google-api-python-client_package() { noarch=yes depends="python3-httplib2 python3-oauth2client python3-uritemplate python3-six"