commit:     b409ada9dd9d09b5d7443b99613b78c348e48a45
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 15:39:58 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 15:40:06 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b409ada9

dev-python/pillow: Do not require anything unconditionally

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562188

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/pillow/pillow-3.0.0.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/pillow/pillow-3.0.0.ebuild 
b/dev-python/pillow/pillow-3.0.0.ebuild
index 511398d..eca59cf 100644
--- a/dev-python/pillow/pillow-3.0.0.ebuild
+++ b/dev-python/pillow/pillow-3.0.0.ebuild
@@ -66,6 +66,11 @@ python_prepare_all() {
                sed -i -e 's:feature.jpeg2000 =:& None #:' setup.py || die
        fi
 
+       sed \
+               -e "/required/s:=.*:= set():g" \
+               -e "/if feature in/s:'jpeg', 'libz'::g" \
+               -i setup.py || die
+
        distutils-r1_python_prepare_all
 }
 

Reply via email to