1 |
commit: 7d482d7eae4fd3b807a7a4a4ebbf09cb9e25700d |
2 |
Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 12:49:12 2015 +0000 |
4 |
Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 12:49:12 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d482d7e |
7 |
|
8 |
dev-python/google-apputils: Fix permissions on unpacked files |
9 |
|
10 |
Bug: https://bugs.gentoo.org/561266 |
11 |
|
12 |
Package-Manager: portage-2.2.22_p3 |
13 |
|
14 |
...google-apputils-0.4.0.ebuild => google-apputils-0.4.0-r1.ebuild} | 6 ++++++ |
15 |
...google-apputils-0.4.2.ebuild => google-apputils-0.4.2-r1.ebuild} | 6 ++++++ |
16 |
2 files changed, 12 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/google-apputils/google-apputils-0.4.0.ebuild b/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild |
19 |
similarity index 91% |
20 |
rename from dev-python/google-apputils/google-apputils-0.4.0.ebuild |
21 |
rename to dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild |
22 |
index a285ff3..4ed6025 100644 |
23 |
--- a/dev-python/google-apputils/google-apputils-0.4.0.ebuild |
24 |
+++ b/dev-python/google-apputils/google-apputils-0.4.0-r1.ebuild |
25 |
@@ -25,6 +25,12 @@ DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
26 |
dev-python/mox[${PYTHON_USEDEP}] )" |
27 |
# version borders needed are already confluent with versions in the tree |
28 |
|
29 |
+src_unpack() { |
30 |
+ default |
31 |
+ find ${P} -type d -exec chmod 0755 {} + || die |
32 |
+ find ${P} -type f -exec chmod 0644 {} + || die |
33 |
+} |
34 |
+ |
35 |
python_prepare_all() { |
36 |
# https://code.google.com/p/google-apputils-python/source/detail?r=12 |
37 |
# This version bordering is long out of date and wrong since end of March 2012! |
38 |
|
39 |
diff --git a/dev-python/google-apputils/google-apputils-0.4.2.ebuild b/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild |
40 |
similarity index 89% |
41 |
rename from dev-python/google-apputils/google-apputils-0.4.2.ebuild |
42 |
rename to dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild |
43 |
index 055a248..613b4dc 100644 |
44 |
--- a/dev-python/google-apputils/google-apputils-0.4.2.ebuild |
45 |
+++ b/dev-python/google-apputils/google-apputils-0.4.2-r1.ebuild |
46 |
@@ -24,6 +24,12 @@ RDEPEND=" |
47 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
48 |
test? ( ${RDEPEND} dev-python/mox[${PYTHON_USEDEP}] )" |
49 |
|
50 |
+src_unpack() { |
51 |
+ default |
52 |
+ find ${P} -type d -exec chmod 0755 {} + || die |
53 |
+ find ${P} -type f -exec chmod 0644 {} + || die |
54 |
+} |
55 |
+ |
56 |
python_test() { |
57 |
# These yield 2 fails which are in fact expected errors run from a shell script! |
58 |
# They seemingly have no immediate mechanism to exit 0 in an expected fail style. |