From 2a299cd48ccf3dbdb572172a90adb7bc56aa8969 Mon Sep 17 00:00:00 2001 From: Mike Gilbert Date: Sat, 26 Sep 2015 13:27:50 -0400 Subject: [PATCH] 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 --- .../pycnb/{pycnb-0.0.4.ebuild => pycnb-0.0.4-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) rename net-misc/pycnb/{pycnb-0.0.4.ebuild => pycnb-0.0.4-r1.ebuild} (80%) 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 +} -- 2.26.2