commit:     391427e7dd4704b61ac6c05d8923a3907e650a03
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 14:46:51 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=391427e7

app-office/impressive: Fix for pillow-3

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

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

 app-office/impressive/impressive-0.10.5.ebuild  | 1 +
 app-office/impressive/impressive-0.11.0b.ebuild | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/app-office/impressive/impressive-0.10.5.ebuild 
b/app-office/impressive/impressive-0.10.5.ebuild
index f72ffa5..56345d1 100644
--- a/app-office/impressive/impressive-0.10.5.ebuild
+++ b/app-office/impressive/impressive-0.10.5.ebuild
@@ -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}]

diff --git a/app-office/impressive/impressive-0.11.0b.ebuild 
b/app-office/impressive/impressive-0.11.0b.ebuild
index 0f79ef3..e312f17 100644
--- a/app-office/impressive/impressive-0.11.0b.ebuild
+++ b/app-office/impressive/impressive-0.11.0b.ebuild
@@ -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
 

Reply via email to