summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-03-31 21:23:58 +0000
committerSebastian Pipping <sping@gentoo.org>2012-03-31 21:23:58 +0000
commitc85326807ec67ef95ec5e61f1491ab90be2a2be8 (patch)
tree49af17c7a5752bb4afce831f646ba7343fab2ee0 /app-text/wiki2beamer
parentmedia-gfx/imageworsener: 0.9.9 (diff)
downloadgentoo-2-c85326807ec67ef95ec5e61f1491ab90be2a2be8.tar.gz
gentoo-2-c85326807ec67ef95ec5e61f1491ab90be2a2be8.tar.bz2
gentoo-2-c85326807ec67ef95ec5e61f1491ab90be2a2be8.zip
app-text/wiki2beamer: 0.9.5
(Portage version: 2.1.10.51/cvs/Linux x86_64)
Diffstat (limited to 'app-text/wiki2beamer')
-rw-r--r--app-text/wiki2beamer/ChangeLog9
-rw-r--r--app-text/wiki2beamer/wiki2beamer-0.9.5.ebuild57
2 files changed, 64 insertions, 2 deletions
diff --git a/app-text/wiki2beamer/ChangeLog b/app-text/wiki2beamer/ChangeLog
index 38816ee04414..f260b16b27e6 100644
--- a/app-text/wiki2beamer/ChangeLog
+++ b/app-text/wiki2beamer/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-text/wiki2beamer
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wiki2beamer/ChangeLog,v 1.3 2011/06/30 00:11:37 sping Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wiki2beamer/ChangeLog,v 1.4 2012/03/31 21:23:58 sping Exp $
+
+*wiki2beamer-0.9.5 (31 Mar 2012)
+
+ 31 Mar 2012; Sebastian Pipping <sping@gentoo.org> +wiki2beamer-0.9.5.ebuild:
+ Bump to 0.9.5
30 Jun 2011; Sebastian Pipping <sping@gentoo.org>
wiki2beamer-0.9.2-r2.ebuild, wiki2beamer-0.9.4.ebuild:
diff --git a/app-text/wiki2beamer/wiki2beamer-0.9.5.ebuild b/app-text/wiki2beamer/wiki2beamer-0.9.5.ebuild
new file mode 100644
index 000000000000..76db4e6e52f2
--- /dev/null
+++ b/app-text/wiki2beamer/wiki2beamer-0.9.5.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/wiki2beamer/wiki2beamer-0.9.5.ebuild,v 1.1 2012/03/31 21:23:58 sping Exp $
+
+EAPI="3"
+PYTHON_DEPEND="*"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit python
+
+DESCRIPTION="Tool to produce LaTeX Beamer code from wiki-like input."
+
+HOMEPAGE="http://wiki2beamer.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.zip"
+
+LICENSE="|| ( GPL-2 GPL-3 ) FDL-1.3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+examples"
+
+DEPEND="app-arch/unzip"
+RDEPEND=""
+
+src_install() {
+ if use examples; then
+ # Patch example Makefile
+ sed -e 's|../../code/wiki2beamer|wiki2beamer|' \
+ -i doc/example/Makefile \
+ || die
+
+ insinto /usr/share/doc/${PF}/example
+ doins doc/example/* || die
+ fi
+
+ doman doc/man/${PN}.1 || die
+ dodoc ChangeLog README || die
+
+ per_abi_install() {
+ local MAIN_DIR="$(python_get_sitedir)"/${PN}
+ insinto "${MAIN_DIR}"
+ newins code/${PN} ${PN}.py || die
+
+ fperms 755 "${MAIN_DIR}"/${PN}.py || die
+ dosym "${MAIN_DIR}"/${PN}.py /usr/bin/${PN}-${PYTHON_ABI} || die
+ }
+ python_execute_function per_abi_install
+
+ python_generate_wrapper_scripts "${ED}usr/bin/${PN}"
+}
+
+pkg_postinst() {
+ python_mod_optimize ${PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup ${PN}
+}