Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/pycnb/
Date: Sat, 26 Sep 2015 17:28:39
Message-Id: 1443288506.2a299cd48ccf3dbdb572172a90adb7bc56aa8969.floppym@gentoo
1 commit: 2a299cd48ccf3dbdb572172a90adb7bc56aa8969
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 26 17:27:50 2015 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 17:28:26 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a299cd4
7
8 net-misc/pycnb: Fix permissions on files in ${S}
9
10 setuptools preserves these permissions when installing them.
11
12 Bug: https://bugs.gentoo.org/561546
13
14 Package-Manager: portage-2.2.21_p119
15
16 net-misc/pycnb/{pycnb-0.0.4.ebuild => pycnb-0.0.4-r1.ebuild} | 6 ++++++
17 1 file changed, 6 insertions(+)
18
19 diff --git a/net-misc/pycnb/pycnb-0.0.4.ebuild b/net-misc/pycnb/pycnb-0.0.4-r1.ebuild
20 similarity index 80%
21 rename from net-misc/pycnb/pycnb-0.0.4.ebuild
22 rename to net-misc/pycnb/pycnb-0.0.4-r1.ebuild
23 index f363f1a..c6468e4 100644
24 --- a/net-misc/pycnb/pycnb-0.0.4.ebuild
25 +++ b/net-misc/pycnb/pycnb-0.0.4-r1.ebuild
26 @@ -20,3 +20,9 @@ DEPEND="dev-python/cement[${PYTHON_USEDEP}]
27 dev-python/twisted-web
28 dev-python/setuptools[${PYTHON_USEDEP}]"
29 RDEPEND="${DEPEND}"
30 +
31 +src_unpack() {
32 + default
33 + find ${P} -type d -exec chmod 0755 {} + || die
34 + find ${P} -type f -exec chmod 0644 {} + || die
35 +}