diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-10-10 21:09:24 +0200 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-10-11 09:05:16 +0200 |
commit | 416e1cb888e637eac59da58784b8b9527fdd6b66 (patch) | |
tree | 683e7b3baf51804ce9365032e1912fd4871dfb12 /app-office/impressive/impressive-0.11.0b-r1.ebuild | |
parent | dev-python/numpy: Version Bump (diff) | |
download | gentoo-416e1cb888e637eac59da58784b8b9527fdd6b66.tar.gz gentoo-416e1cb888e637eac59da58784b8b9527fdd6b66.tar.bz2 gentoo-416e1cb888e637eac59da58784b8b9527fdd6b66.zip |
app-office/impressive: Fix typo
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'app-office/impressive/impressive-0.11.0b-r1.ebuild')
-rw-r--r-- | app-office/impressive/impressive-0.11.0b-r1.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/app-office/impressive/impressive-0.11.0b-r1.ebuild b/app-office/impressive/impressive-0.11.0b-r1.ebuild new file mode 100644 index 000000000000..db4e6db429c0 --- /dev/null +++ b/app-office/impressive/impressive-0.11.0b-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +MY_PN="Impressive" + +DESCRIPTION="Stylish way of giving presentations with Python" +HOMEPAGE="http://impressive.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_PN}/${PV%b}/${MY_PN}-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${PYTHON_DEPS} + app-text/pdftk + dev-python/pygame[${PYTHON_USEDEP}] + virtual/python-imaging[${PYTHON_USEDEP}] + x11-apps/xrandr + || ( + app-text/mupdf + app-text/poppler + app-text/ghostscript-gpl + ) + || ( media-fonts/dejavu media-fonts/corefonts )" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +S=${WORKDIR}/${MY_PN}-${PV} + +src_prepare() { + sed \ + -e 's:tostring:tobytes:g' \ + -i impressive.py || die +} + +src_install() { + python_foreach_impl python_doscript ${PN}.py + + # compatibility symlinks + dosym impressive.py /usr/bin/impressive + dosym impressive.py /usr/bin/keyjnote + + # docs + doman impressive.1 + dohtml impressive.html + dodoc changelog.txt demo.pdf +} + +pkg_postinst() { + elog "The experience with ${PN} can be enhanced by folowing packages:" + optfeature "Starting web or e-mail hyperlinks from PDF documents" x11-misc/xdg-utils + optfeature "Sound and video playback" media-video/mplayer + optfeature "Sound and video playback" media-video/mplayer2 + optfeature "Alternate PDF rendering" app-text/mupdf + optfeature "Alternate PDF rendering" app-text/poppler + optfeature "Alternate PDF rendering" app-text/ghostscript-gpl +} |