From: Justin Lecher Date: Sat, 10 Oct 2015 14:46:51 +0000 (+0200) Subject: app-office/impressive: Fix for pillow-3 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=391427e7dd4704b61ac6c05d8923a3907e650a03;p=gentoo.git 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 --- diff --git a/app-office/impressive/impressive-0.10.5.ebuild b/app-office/impressive/impressive-0.10.5.ebuild index f72ffa52819c..56345d19a079 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 0f79ef3f6ae8..e312f17a39b2 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