app-office/impressive: Fix for pillow-3
authorJustin Lecher <jlec@gentoo.org>
Sat, 10 Oct 2015 14:46:51 +0000 (16:46 +0200)
committerJustin Lecher <jlec@gentoo.org>
Sat, 10 Oct 2015 15:40:06 +0000 (17:40 +0200)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562380

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
app-office/impressive/impressive-0.10.5.ebuild
app-office/impressive/impressive-0.11.0b.ebuild

index f72ffa52819ca2a0f526ad3b9c952ac92d9453b7..56345d19a079dfd2281ae4e88ac014e9523f51d5 100644 (file)
@@ -21,6 +21,7 @@ IUSE=""
 
 DEPEND=""
 RDEPEND="${PYTHON_DEPS}
+       !>=dev-python/pillow-3.0.0
        app-text/pdftk
        virtual/python-imaging[${PYTHON_USEDEP}]
        dev-python/pygame[${PYTHON_USEDEP}]
index 0f79ef3f6ae87c73f04210e705bf013d0173175d..e312f17a39b26d421b57f3aa83924055b538ee8b 100644 (file)
@@ -35,6 +35,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 S=${WORKDIR}/${MY_PN}-${PV}
 
+src_preparep() {
+       sed \
+               -e 's:tostring:tobytes:g' \
+               -i impressive.py || die
+}
+
 src_install() {
        python_foreach_impl python_doscript ${PN}.py