From: Mike Gilbert Date: Sat, 26 Sep 2015 17:27:50 +0000 (-0400) Subject: net-misc/pycnb: Fix permissions on files in ${S} X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2a299cd48ccf3dbdb572172a90adb7bc56aa8969;p=gentoo.git net-misc/pycnb: Fix permissions on files in ${S} setuptools preserves these permissions when installing them. Bug: https://bugs.gentoo.org/561546 Package-Manager: portage-2.2.21_p119 --- diff --git a/net-misc/pycnb/pycnb-0.0.4.ebuild b/net-misc/pycnb/pycnb-0.0.4-r1.ebuild similarity index 80% rename from net-misc/pycnb/pycnb-0.0.4.ebuild rename to net-misc/pycnb/pycnb-0.0.4-r1.ebuild index f363f1ae810a..c6468e436465 100644 --- a/net-misc/pycnb/pycnb-0.0.4.ebuild +++ b/net-misc/pycnb/pycnb-0.0.4-r1.ebuild @@ -20,3 +20,9 @@ DEPEND="dev-python/cement[${PYTHON_USEDEP}] dev-python/twisted-web dev-python/setuptools[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}" + +src_unpack() { + default + find ${P} -type d -exec chmod 0755 {} + || die + find ${P} -type f -exec chmod 0644 {} + || die +}