Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/impressive/
Date: Wed, 25 Dec 2019 16:57:37
Message-Id: 1577293034.9c25028c967221b1992a8922ec43bb781c62aeef.pacho@gentoo
1 commit: 9c25028c967221b1992a8922ec43bb781c62aeef
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 25 15:43:37 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 25 16:57:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c25028c
7
8 app-office/impressive: Bump to 0.13.0beta1 supporting python3
9
10 Disable python2 support to not rely on a pygame python2 version relying on
11 dead numpy-python2
12
13 Bug: https://bugs.gentoo.org/703758
14 Package-Manager: Portage-2.3.82, Repoman-2.3.20
15 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
16
17 app-office/impressive/Manifest | 1 +
18 .../impressive/impressive-0.13.0_beta1.ebuild | 55 ++++++++++++++++++++++
19 2 files changed, 56 insertions(+)
20
21 diff --git a/app-office/impressive/Manifest b/app-office/impressive/Manifest
22 index ca8bf9e9161..a9d254987d0 100644
23 --- a/app-office/impressive/Manifest
24 +++ b/app-office/impressive/Manifest
25 @@ -1,2 +1,3 @@
26 DIST Impressive-0.11.2.tar.gz 198391 BLAKE2B e0157a910b61c7dbe0796193b3d18f533210de50568d835e5204a848a5ac4978ab228b633d5137fb068af09a88d0c50fc2dbbb02b9b0d1a32a99f9de220ac1de SHA512 cabb52612f65ddadfb080e3db6417680a1aa9724fe45d8b78a1206b6508a8b60c5e5a7c218ff0f90e62adcd498aabe625837164fc547604dfd7aba425db87dd6
27 DIST Impressive-0.12.0.tar.gz 209514 BLAKE2B aef0c793c85c680c65399cfcef56488c558ec49a8246d55bacc05a2e1fa0de51d548ddcf67788d36a4de91d62495a623269976345f99d63d25f3ae8bc9efdbd8 SHA512 3425d9d53c8c3ff6d5de0a3466bbf5c94f257390b4929ba12547ba930099de67db4f4d77d4ef4e3e10f8f723478569a74042553f64cf95e236931c7aabb70f0a
28 +DIST Impressive-0.13.0-beta1a.tar.gz 213098 BLAKE2B c76ce023f9c44865db68d1d2049aba022581d5e62cf027cc4df63ae541a8471867e75749a2f72c8e1f9e2e7ca2640611e090080ac563cff54f521ea47a351304 SHA512 5484f9764848129150d03233a9b270d2c31ec5f5083100662dd3cca85d3c7ead0000bd23b7d531ad45667410e1a1ea5d97ca1a2f4e8a2449dc730273144e56e8
29
30 diff --git a/app-office/impressive/impressive-0.13.0_beta1.ebuild b/app-office/impressive/impressive-0.13.0_beta1.ebuild
31 new file mode 100644
32 index 00000000000..f1f11adfb70
33 --- /dev/null
34 +++ b/app-office/impressive/impressive-0.13.0_beta1.ebuild
35 @@ -0,0 +1,55 @@
36 +# Copyright 1999-2019 Gentoo Authors
37 +# Distributed under the terms of the GNU General Public License v2
38 +
39 +EAPI=6
40 +
41 +PYTHON_COMPAT=( python3_{7,8} )
42 +
43 +inherit eutils python-r1
44 +
45 +MY_PN="Impressive"
46 +
47 +DESCRIPTION="Stylish way of giving presentations with Python"
48 +HOMEPAGE="http://impressive.sourceforge.net/"
49 +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}/${PV/_/-}/${MY_PN}-${PV/_/-}a.tar.gz"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~x86"
54 +
55 +IUSE=""
56 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
57 +
58 +DEPEND=""
59 +RDEPEND="${PYTHON_DEPS}
60 + dev-python/pygame[${PYTHON_USEDEP}]
61 + dev-python/pillow[${PYTHON_USEDEP}]
62 + x11-apps/xrandr
63 + app-text/mupdf
64 + || ( media-fonts/dejavu media-fonts/corefonts )
65 +"
66 +
67 +DOCS=(
68 + changelog.txt
69 + demo.pdf
70 +)
71 +HTML_DOCS=(
72 + impressive.html
73 +)
74 +
75 +S="${WORKDIR}/${MY_PN}-${PV/_/-}a"
76 +
77 +src_install() {
78 + default
79 + python_foreach_impl python_doscript ${PN}.py
80 + doman impressive.1
81 +}
82 +
83 +pkg_postinst() {
84 + elog "The experience with ${PN} can be enhanced by folowing packages:"
85 + optfeature "starting web or e-mail hyperlinks from PDF documents" x11-misc/xdg-utils
86 + optfeature "sound and video playback" media-video/ffmpeg
87 + optfeature "sound and video playback" media-video/mplayer
88 + optfeature "sound and video playback" media-video/mplayer2
89 + optfeature "extraction of PDF page titles" app-text/pdftk
90 +}