1 |
commit: b409ada9dd9d09b5d7443b99613b78c348e48a45 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 10 15:39:58 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 10 15:40:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b409ada9 |
7 |
|
8 |
dev-python/pillow: Do not require anything unconditionally |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562188 |
11 |
|
12 |
Package-Manager: portage-2.2.23 |
13 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
14 |
|
15 |
dev-python/pillow/pillow-3.0.0.ebuild | 5 +++++ |
16 |
1 file changed, 5 insertions(+) |
17 |
|
18 |
diff --git a/dev-python/pillow/pillow-3.0.0.ebuild b/dev-python/pillow/pillow-3.0.0.ebuild |
19 |
index 511398d..eca59cf 100644 |
20 |
--- a/dev-python/pillow/pillow-3.0.0.ebuild |
21 |
+++ b/dev-python/pillow/pillow-3.0.0.ebuild |
22 |
@@ -66,6 +66,11 @@ python_prepare_all() { |
23 |
sed -i -e 's:feature.jpeg2000 =:& None #:' setup.py || die |
24 |
fi |
25 |
|
26 |
+ sed \ |
27 |
+ -e "/required/s:=.*:= set():g" \ |
28 |
+ -e "/if feature in/s:'jpeg', 'libz'::g" \ |
29 |
+ -i setup.py || die |
30 |
+ |
31 |
distutils-r1_python_prepare_all |
32 |
} |