summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-03 11:27:27 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-03 11:27:27 +0000
commita213ef48525474f11a372f8fcc16c5edad1563c4 (patch)
tree0974a1433655241bb66a12931426a483b6b98816 /dev-tex/texamator
parentamd64/x86 stable, bug #294106 (diff)
downloadgentoo-2-a213ef48525474f11a372f8fcc16c5edad1563c4.tar.gz
gentoo-2-a213ef48525474f11a372f8fcc16c5edad1563c4.tar.bz2
gentoo-2-a213ef48525474f11a372f8fcc16c5edad1563c4.zip
Initial commit.
(Portage version: 2.2_rc54/cvs/Linux x86_64)
Diffstat (limited to 'dev-tex/texamator')
-rw-r--r--dev-tex/texamator/ChangeLog10
-rw-r--r--dev-tex/texamator/files/texamator3
-rw-r--r--dev-tex/texamator/metadata.xml11
-rw-r--r--dev-tex/texamator/texamator-1.5b.ebuild41
4 files changed, 65 insertions, 0 deletions
diff --git a/dev-tex/texamator/ChangeLog b/dev-tex/texamator/ChangeLog
new file mode 100644
index 000000000000..b5c0d23cc0df
--- /dev/null
+++ b/dev-tex/texamator/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-tex/texamator
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/texamator/ChangeLog,v 1.1 2009/12/03 11:27:23 ssuominen Exp $
+
+*texamator-1.5b (03 Dec 2009)
+
+ 03 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +texamator-1.5b.ebuild, +files/texamator:
+ Initial commit.
+
diff --git a/dev-tex/texamator/files/texamator b/dev-tex/texamator/files/texamator
new file mode 100644
index 000000000000..6595c3fd121f
--- /dev/null
+++ b/dev-tex/texamator/files/texamator
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /usr/lib/TeXamator
+exec python TeXamator.py
diff --git a/dev-tex/texamator/metadata.xml b/dev-tex/texamator/metadata.xml
new file mode 100644
index 000000000000..7ee083c877d1
--- /dev/null
+++ b/dev-tex/texamator/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>tex</herd>
+ <herd>qt</herd>
+ <herd>python</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-tex/texamator/texamator-1.5b.ebuild b/dev-tex/texamator/texamator-1.5b.ebuild
new file mode 100644
index 000000000000..fff589616f15
--- /dev/null
+++ b/dev-tex/texamator/texamator-1.5b.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/texamator/texamator-1.5b.ebuild,v 1.1 2009/12/03 11:27:23 ssuominen Exp $
+
+EAPI=2
+inherit multilib python
+
+MY_PN=TeXamator
+
+DESCRIPTION="A program aimed at helping you making your exercise sheets"
+HOMEPAGE="http://snouffy.free.fr/blog-en/index.php/category/TeXamator"
+SRC_URI="http://snouffy.free.fr/blog-en/public/${MY_PN}/${MY_PN}.v.${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/PyQt4
+ app-text/dvipng
+ virtual/latex-base"
+
+S=${WORKDIR}
+
+src_install() {
+ dodoc ${MY_PN}/README
+ rm -f ${MY_PN}/README
+
+ insinto /usr/$(get_libdir)
+ doins -r ${MY_PN} || die
+
+ dobin "${FILESDIR}"/${PN} || die
+}
+
+pkg_postinst() {
+ python_mod_optimize /usr/$(get_libdir)/${MY_PN}
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/$(get_libdir)/${MY_PN}
+}