Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/impressive/
Date: Sat, 10 Oct 2015 15:40:13
Message-Id: 1444491606.391427e7dd4704b61ac6c05d8923a3907e650a03.jlec@gentoo
1 commit: 391427e7dd4704b61ac6c05d8923a3907e650a03
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 14:46:51 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 15:40:06 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391427e7
7
8 app-office/impressive: Fix for pillow-3
9
10 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=562380
11
12 Package-Manager: portage-2.2.23
13 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
14
15 app-office/impressive/impressive-0.10.5.ebuild | 1 +
16 app-office/impressive/impressive-0.11.0b.ebuild | 6 ++++++
17 2 files changed, 7 insertions(+)
18
19 diff --git a/app-office/impressive/impressive-0.10.5.ebuild b/app-office/impressive/impressive-0.10.5.ebuild
20 index f72ffa5..56345d1 100644
21 --- a/app-office/impressive/impressive-0.10.5.ebuild
22 +++ b/app-office/impressive/impressive-0.10.5.ebuild
23 @@ -21,6 +21,7 @@ IUSE=""
24
25 DEPEND=""
26 RDEPEND="${PYTHON_DEPS}
27 + !>=dev-python/pillow-3.0.0
28 app-text/pdftk
29 virtual/python-imaging[${PYTHON_USEDEP}]
30 dev-python/pygame[${PYTHON_USEDEP}]
31
32 diff --git a/app-office/impressive/impressive-0.11.0b.ebuild b/app-office/impressive/impressive-0.11.0b.ebuild
33 index 0f79ef3..e312f17 100644
34 --- a/app-office/impressive/impressive-0.11.0b.ebuild
35 +++ b/app-office/impressive/impressive-0.11.0b.ebuild
36 @@ -35,6 +35,12 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
37
38 S=${WORKDIR}/${MY_PN}-${PV}
39
40 +src_preparep() {
41 + sed \
42 + -e 's:tostring:tobytes:g' \
43 + -i impressive.py || die
44 +}
45 +
46 src_install() {
47 python_foreach_impl python_doscript ${PN}.py