From e050af8811e367c50e810b35aa7139fcdabdcd9c Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Wed, 30 Sep 2015 12:26:43 -0400 Subject: [PATCH] dev-python/google-apputils: Simplify permissions fix Package-Manager: portage-2.2.22_p3 --- dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild | 3 +-- dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild b/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild index 4ed6025a2842..7b78e53c8ddb 100644 --- a/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild +++ b/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild @@ -27,8 +27,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] src_unpack() { default - find ${P} -type d -exec chmod 0755 {} + || die - find ${P} -type f -exec chmod 0644 {} + || die + chmod -R a+rX,u+w,g-w,o-w ${P} || die } python_prepare_all() { diff --git a/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild b/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild index 613b4dcc6735..1e3890860051 100644 --- a/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild +++ b/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild @@ -26,8 +26,7 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] src_unpack() { default - find ${P} -type d -exec chmod 0755 {} + || die - find ${P} -type f -exec chmod 0644 {} + || die + chmod -R a+rX,u+w,g-w,o-w ${P} || die } python_test() { -- 2.26.2