diff options
Diffstat (limited to 'dev-tex')
-rw-r--r-- | dev-tex/rubber/ChangeLog | 7 | ||||
-rw-r--r-- | dev-tex/rubber/files/rubber-module-command.patch | 77 | ||||
-rw-r--r-- | dev-tex/rubber/files/rubber-python2.6.patch | 20 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-0.99.8.ebuild | 33 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-1.1.ebuild | 28 | ||||
-rw-r--r-- | dev-tex/rubber/rubber-1.1_p20080323.ebuild | 38 |
6 files changed, 6 insertions, 197 deletions
diff --git a/dev-tex/rubber/ChangeLog b/dev-tex/rubber/ChangeLog index ea10a6ec4939..3c1e850393ea 100644 --- a/dev-tex/rubber/ChangeLog +++ b/dev-tex/rubber/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-tex/rubber # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/rubber/ChangeLog,v 1.18 2010/01/10 18:36:03 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-tex/rubber/ChangeLog,v 1.19 2010/05/05 07:21:58 aballier Exp $ + + 05 May 2010; Alexis Ballier <aballier@gentoo.org> -rubber-0.99.8.ebuild, + -rubber-1.1.ebuild, -rubber-1.1_p20080323.ebuild, + -files/rubber-module-command.patch, -files/rubber-python2.6.patch: + remove old 10 Jan 2010; nixnut <nixnut@gentoo.org> rubber-1.1_p20090819.ebuild: ppc stable #296418 diff --git a/dev-tex/rubber/files/rubber-module-command.patch b/dev-tex/rubber/files/rubber-module-command.patch deleted file mode 100644 index 60e8fcb0b9f8..000000000000 --- a/dev-tex/rubber/files/rubber-module-command.patch +++ /dev/null @@ -1,77 +0,0 @@ -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/files/rubber-python2.6.patch b/dev-tex/rubber/files/rubber-python2.6.patch deleted file mode 100644 index d8e10323076c..000000000000 --- a/dev-tex/rubber/files/rubber-python2.6.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/util.py.orig 2006-03-25 03:43:38.000000000 -0700 -+++ src/util.py 2009-03-16 18:06:39.075677561 -0600 -@@ -5,7 +5,7 @@ - by the modules for various tasks. - """ - --import md5 -+import hashlib - import os, stat, time - import imp - import re, string -@@ -19,7 +19,7 @@ - """ - Compute the MD5 sum of a given file. - """ -- m = md5.new() -+ m = hashlib.md5() - file = open(fname) - for line in file.readlines(): - m.update(line) diff --git a/dev-tex/rubber/rubber-0.99.8.ebuild b/dev-tex/rubber/rubber-0.99.8.ebuild deleted file mode 100644 index 643b7ade9ea0..000000000000 --- a/dev-tex/rubber/rubber-0.99.8.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2008 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.4 2008/05/12 12:55:59 aballier Exp $ - -inherit distutils eutils - -IUSE="" - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="http://iml.univ-mrs.fr/~beffara/soft/rubber/" -SRC_URI="http://ebeffara.free.fr/pub/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 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 -} diff --git a/dev-tex/rubber/rubber-1.1.ebuild b/dev-tex/rubber/rubber-1.1.ebuild deleted file mode 100644 index 1de7fa3aa9f5..000000000000 --- a/dev-tex/rubber/rubber-1.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/rubber/rubber-1.1.ebuild,v 1.5 2008/05/12 13:20:09 aballier Exp $ - -inherit distutils eutils - -IUSE="" - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="http://iml.univ-mrs.fr/~beffara/soft/rubber/" -SRC_URI="http://ebeffara.free.fr/pub/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND=">=dev-lang/python-2.2 - virtual/latex-base" - -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 -} diff --git a/dev-tex/rubber/rubber-1.1_p20080323.ebuild b/dev-tex/rubber/rubber-1.1_p20080323.ebuild deleted file mode 100644 index e0e335bf1a54..000000000000 --- a/dev-tex/rubber/rubber-1.1_p20080323.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-tex/rubber/rubber-1.1_p20080323.ebuild,v 1.3 2009/09/10 17:01:16 patrick Exp $ - -EAPI="2" -NEED_PYTHON="2.5" - -inherit distutils eutils - -IUSE="" - -MY_P=${PN}-${PV/*_p/} - -DESCRIPTION="A LaTeX wrapper for automatically building documents" -HOMEPAGE="http://iml.univ-mrs.fr/~beffara/soft/rubber/" -SRC_URI="http://iml.univ-mrs.fr/~beffara/soft/rubber/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/latex-base" - -S=${WORKDIR}/${P/_p*/} - -src_prepare() { - epatch "${FILESDIR}/rubber-python2.6.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 -} |