summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDustin Polke <dustin.polke@uni-siegen.de>2011-01-26 15:50:36 +0100
committerDustin Polke <dustin.polke@uni-siegen.de>2011-01-26 15:50:36 +0100
commite9a7bbb0511432ed35e622e1eed0d816769a349a (patch)
tree1996877822e1ed102b7b62defaceeb050edaa6d9 /dev-tex
parent[sys-process/procps] Drop empty dir. (diff)
downloadDuPol-e9a7bbb0511432ed35e622e1eed0d816769a349a.tar.gz
DuPol-e9a7bbb0511432ed35e622e1eed0d816769a349a.tar.bz2
DuPol-e9a7bbb0511432ed35e622e1eed0d816769a349a.zip
[dev-tex/wiki2beamer] Add wiki2beamer-0.9.2, ebuild by me.
Diffstat (limited to 'dev-tex')
-rw-r--r--dev-tex/wiki2beamer/ChangeLog10
-rw-r--r--dev-tex/wiki2beamer/Manifest4
-rw-r--r--dev-tex/wiki2beamer/metadata.xml9
-rw-r--r--dev-tex/wiki2beamer/wiki2beamer-0.9.2.ebuild50
4 files changed, 73 insertions, 0 deletions
diff --git a/dev-tex/wiki2beamer/ChangeLog b/dev-tex/wiki2beamer/ChangeLog
new file mode 100644
index 0000000..d6a3e54
--- /dev/null
+++ b/dev-tex/wiki2beamer/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tex/wiki2beamer
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*wiki2beamer-0.9.2 (26 Jan 2011)
+
+ 26 Jan 2011; Dustin Polke <dustin.polke@uni-siegen.de>
+ +wiki2beamer-0.9.2.ebuild, +metadata.xml:
+ Initial ebuild for wiki2beamer-0.9.2.
+
diff --git a/dev-tex/wiki2beamer/Manifest b/dev-tex/wiki2beamer/Manifest
new file mode 100644
index 0000000..43f6bd4
--- /dev/null
+++ b/dev-tex/wiki2beamer/Manifest
@@ -0,0 +1,4 @@
+DIST wiki2beamer-0.9.2.zip 372109 RMD160 9ac54ee6bf524b63fae042a5685275bfa467846e SHA1 16554f86cd8698befee035e72e62099323b4e97d SHA256 936e6e54b7c469b9c587c0265c16280bcc28802c9e84d5b7be38480171a094de
+EBUILD wiki2beamer-0.9.2.ebuild 1089 RMD160 c8bb5a243a215056cfa5385bfb61aedacd1bfd77 SHA1 8622db83ded0361c74f14f21d17c49ffb699fe2c SHA256 32845ff883f382a06c0ec119be427896baff0db26efeeffe17d240309d177c96
+MISC ChangeLog 296 RMD160 712759b2a0ee43893f0d13c1c58ef5ab6aa383a0 SHA1 e18adfb85507cfbdf5daf4fa670a60db456377df SHA256 224df72552f4e7b63cb6e82c60b02cba65630193a5071f31a4926e370f345db1
+MISC metadata.xml 241 RMD160 783207c6bf4c7d63b3b77147646ec55da4da5d0d SHA1 2f0b7d85c22b97861c88249c641ca210d5094f72 SHA256 e22fb523e9199dab7e1cb4a373fff320eb13f9fb63cbbff2f8bbaae92786e9e4
diff --git a/dev-tex/wiki2beamer/metadata.xml b/dev-tex/wiki2beamer/metadata.xml
new file mode 100644
index 0000000..1cb7f54
--- /dev/null
+++ b/dev-tex/wiki2beamer/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>dustin.polke@uni-siegen.de</email>
+ <name>Dustin Polke</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/dev-tex/wiki2beamer/wiki2beamer-0.9.2.ebuild b/dev-tex/wiki2beamer/wiki2beamer-0.9.2.ebuild
new file mode 100644
index 0000000..e2238d8
--- /dev/null
+++ b/dev-tex/wiki2beamer/wiki2beamer-0.9.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+PYTHON_DEPEND="2"
+EAPI="3"
+
+inherit python
+
+DESCRIPTION="Pre-processor to create LaTeX beamer presentations using wiki style"
+HOMEPAGE="http://wiki2beamer.sourceforge.net/"
+SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/${P}/${P}.zip"
+
+LICENSE="GPL-2
+ doc? ( FDL-1.3 )"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+doc"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+pkg_setup() { python_set_active_version 2; }
+
+src_compile() {
+ cat <<-EOF > wiki2beamer
+ #!/bin/sh
+ WIKI2BEAMERDIR="$(python_get_sitedir)/${PN}"
+ exec /usr/bin/python -O "\${WIKI2BEAMERDIR}/wiki2beamer.py" "\$@"
+ EOF
+}
+
+src_install() {
+ insinto "$(python_get_sitedir)/${PN}"
+ newins code/wiki2beamer wiki2beamer.py || die
+ doins code/setup.py || die
+
+ exeinto "usr/bin"
+ doexe wiki2beamer || die
+
+ doman doc/man/wiki2beamer.1 || die
+
+ if use doc; then
+ dodoc doc/example/{example.{txt,pdf},includefile.txt} || die
+ fi
+}
+
+pkg_postinst() { python_mod_optimize ${PN}; }
+
+pkg_postrm() { python_mod_cleanup PyQt4; }