commit:     e050af8811e367c50e810b35aa7139fcdabdcd9c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 30 16:26:43 2015 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 30 16:28:03 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e050af88

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 4ed6025..7b78e53 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 613b4dc..1e38908 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() {

Reply via email to