diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-11-07 14:31:01 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-11-07 14:31:01 +0000 |
commit | 61400fc20870f5a9ca443d49c801eae599031070 (patch) | |
tree | cdfe198e54e42bde1db308c1de0ce11535a20106 | |
parent | removed sys-kernel/config-kernel from dependancies (diff) | |
download | historical-61400fc20870f5a9ca443d49c801eae599031070.tar.gz historical-61400fc20870f5a9ca443d49c801eae599031070.tar.bz2 historical-61400fc20870f5a9ca443d49c801eae599031070.zip |
Initial import. Ebuild submitted by Sam Yates <sam@quux.dropbear.id.au>. See bug #45009 for discussion about rubber-module-command.patch.
-rw-r--r-- | dev-tex/rubber/ChangeLog | 11 | ||||
-rw-r--r-- | dev-tex/rubber/Manifest | 15 | ||||
-rw-r--r-- | dev-tex/rubber/files/digest-rubber-0.99.8 | 1 | ||||
-rw-r--r-- | dev-tex/rubber/files/rubber-module-command.patch | 77 | ||||
-rw-r--r-- | dev-tex/rubber/metadata.xml | 5 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-0.99.8.ebuild | 33 |
6 files changed, 142 insertions, 0 deletions
diff --git a/dev-tex/rubber/ChangeLog b/dev-tex/rubber/ChangeLog new file mode 100644 index 000000000000..efd43daba325 --- /dev/null +++ b/dev-tex/rubber/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-tex/rubber +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/rubber/ChangeLog,v 1.1 2004/11/07 14:31:01 usata Exp $ + +*rubber-0.99.8 (07 Nov 2004) + + 07 Nov 2004; Mamoru KOMACHI <usata@gentoo.org> + +files/rubber-module-command.patch, +rubber-0.99.8.ebuild: + Initial import. Ebuild submitted by Sam Yates <sam@quux.dropbear.id.au>. + See bug #45009 for discussion about rubber-module-command.patch. + diff --git a/dev-tex/rubber/Manifest b/dev-tex/rubber/Manifest new file mode 100644 index 000000000000..9525dd210c48 --- /dev/null +++ b/dev-tex/rubber/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 532bee021eb922932535dc9a4aa88f0e rubber-0.99.8.ebuild 795 +MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164 +MD5 9d07ac651d5df91d86b5143b64423f54 ChangeLog 483 +MD5 fa3ee1d6122e1a65f21eee40704b33ff files/digest-rubber-0.99.8 64 +MD5 1a745ebed6ee7adc37e3e4b29cc075bb files/rubber-module-command.patch 2240 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBjjArVWNWqTUmv+0RAvP4AKCbmklPCxznjaAWpc4Xk+jgqtAiFQCePHhX +dRKa6txFSxv3E1NKYX8uU2I= +=8c58 +-----END PGP SIGNATURE----- diff --git a/dev-tex/rubber/files/digest-rubber-0.99.8 b/dev-tex/rubber/files/digest-rubber-0.99.8 new file mode 100644 index 000000000000..07719bf75480 --- /dev/null +++ b/dev-tex/rubber/files/digest-rubber-0.99.8 @@ -0,0 +1 @@ +MD5 c912145b76786038fb954342d9840028 rubber-0.99.8.tar.gz 75860 diff --git a/dev-tex/rubber/files/rubber-module-command.patch b/dev-tex/rubber/files/rubber-module-command.patch new file mode 100644 index 000000000000..60e8fcb0b9f8 --- /dev/null +++ b/dev-tex/rubber/files/rubber-module-command.patch @@ -0,0 +1,77 @@ +diff -r -c rubber-0.99.7.orig/src/__init__.py rubber-0.99.7/src/__init__.py +*** rubber-0.99.7.orig/src/__init__.py 2004-02-16 22:33:47.000000000 +0900 +--- rubber-0.99.7/src/__init__.py 2004-03-22 17:07:08.650376984 +0900 +*************** +*** 82,87 **** +--- 82,90 ---- + """ + return self.objects[name] + ++ def has_key (self, name): ++ return self.objects.has_key(name) ++ + def register (self, name, dict={}): + """ + Attempt to register a package with the specified name. If a module is +*************** +*** 503,509 **** + else: + lst = string.split(cmd, ".", 1) + if len(lst) > 1: +! if modules.has_key(lst[0]): + self.modules[lst[0]].command(lst[1], arg) + else: + self.msg.info(pos, _("unknown directive '%s'") % cmd) +--- 506,512 ---- + else: + lst = string.split(cmd, ".", 1) + if len(lst) > 1: +! if self.modules.has_key(lst[0]): + self.modules[lst[0]].command(lst[1], arg) + else: + self.msg.info(pos, _("unknown directive '%s'") % cmd) +diff -r -c rubber-0.99.7.orig/src/modules/lhs2TeX.py rubber-0.99.7/src/modules/lhs2TeX.py +*** rubber-0.99.7.orig/src/modules/lhs2TeX.py 2003-10-28 05:04:41.000000000 +0900 +--- rubber-0.99.7/src/modules/lhs2TeX.py 2004-03-22 17:07:53.261595048 +0900 +*************** +*** 21,31 **** + self.env = env + self.source = source + self.target = target +! self.cmd = ["lhs2TeX", "-math", source] + + def run (self): + self.env.msg(0, _("pretty-printing %s...") % self.source) +! out = open(target, 'w') + def w (line, file=out): + file.write(line) + file.flush() +--- 21,31 ---- + self.env = env + self.source = source + self.target = target +! self.cmd = ["lhs2TeX", "-poly", source] + + def run (self): + self.env.msg(0, _("pretty-printing %s...") % self.source) +! out = open(self.target, 'w') + def w (line, file=out): + file.write(line) + file.flush() +*************** +*** 48,54 **** + else: + self.clean_tex = 0 + env.convert.add_rule("(.*)\\.tex$", "\\1.lhs", "lhs2TeX") +! self.style = "-math" + + def make (self): + """ +--- 48,54 ---- + else: + self.clean_tex = 0 + env.convert.add_rule("(.*)\\.tex$", "\\1.lhs", "lhs2TeX") +! self.style = "-poly" + + def make (self): + """ diff --git a/dev-tex/rubber/metadata.xml b/dev-tex/rubber/metadata.xml new file mode 100644 index 000000000000..06689a1a9114 --- /dev/null +++ b/dev-tex/rubber/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>text-markup</herd> +</pkgmetadata> diff --git a/dev-tex/rubber/rubber-0.99.8.ebuild b/dev-tex/rubber/rubber-0.99.8.ebuild new file mode 100644 index 000000000000..46c7e4608a5c --- /dev/null +++ b/dev-tex/rubber/rubber-0.99.8.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-tex/rubber/rubber-0.99.8.ebuild,v 1.1 2004/11/07 14:31:01 usata Exp $ + +inherit distutils eutils + +IUSE="" + +DESCRIPTION="A LaTeX wrapper for automatically building documents" +HOMEPAGE="http://rubber.sourceforge.net/" +SRC_URI="http://ebeffara.free.fr/pub/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +DEPEND="dev-lang/python" + +#src_unpack() { +# unpack ${A} +# cd ${S} +# epatch ${FILESDIR}/rubber-module-command.patch +#} + +src_compile() { + # configure script is not created by GNU autoconf + ./configure --prefix=/usr \ + --bindir=/usr/bin \ + --datadir=/usr/share \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info || die + emake || die +} |