summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pillow/pillow-3.0.0.ebuild')
-rw-r--r--dev-python/pillow/pillow-3.0.0.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-python/pillow/pillow-3.0.0.ebuild b/dev-python/pillow/pillow-3.0.0.ebuild
index 511398d84fbe..eca59cfff2b2 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
}