summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Strzygowski <lucass@gentoo.org>2006-04-30 18:25:52 +0000
committerLukasz Strzygowski <lucass@gentoo.org>2006-04-30 18:25:52 +0000
commit52988425ccbd32096baba871454843315d4b1dae (patch)
tree2169b47c0c65503e707a75d0b292f8af24544e42 /dev-python/testoob
parentVersion bump from upstream. (diff)
downloadgentoo-2-52988425ccbd32096baba871454843315d4b1dae.tar.gz
gentoo-2-52988425ccbd32096baba871454843315d4b1dae.tar.bz2
gentoo-2-52988425ccbd32096baba871454843315d4b1dae.zip
Version bump. Patch fixing a typo and adding a missing file.
(Portage version: 2.1_pre9-r5)
Diffstat (limited to 'dev-python/testoob')
-rw-r--r--dev-python/testoob/ChangeLog8
-rw-r--r--dev-python/testoob/files/digest-testoob-1.03
-rw-r--r--dev-python/testoob/files/testoob-1.0-fix.diff23
-rw-r--r--dev-python/testoob/testoob-1.0.ebuild28
4 files changed, 61 insertions, 1 deletions
diff --git a/dev-python/testoob/ChangeLog b/dev-python/testoob/ChangeLog
index 1430b4f4edcf..f2f87e13e832 100644
--- a/dev-python/testoob/ChangeLog
+++ b/dev-python/testoob/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/testoob
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/ChangeLog,v 1.4 2006/04/18 12:24:29 weeve Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/ChangeLog,v 1.5 2006/04/30 18:25:52 lucass Exp $
+
+*testoob-1.0 (30 Apr 2006)
+
+ 30 Apr 2006; Lukasz Strzygowski <lucass@gentoo.org>
+ +files/testoob-1.0-fix.diff, +testoob-1.0.ebuild:
+ Version bump. Patch fixing a typo and adding a missing file.
18 Apr 2006; Jason Wever <weeve@gentoo.org> testoob-0.9.ebuild:
Added ~sparc keyword.
diff --git a/dev-python/testoob/files/digest-testoob-1.0 b/dev-python/testoob/files/digest-testoob-1.0
new file mode 100644
index 000000000000..2536672538b5
--- /dev/null
+++ b/dev-python/testoob/files/digest-testoob-1.0
@@ -0,0 +1,3 @@
+MD5 73a98cbe16bed99c625d85891edd55b7 testoob-1.0.tar.bz2 73157
+RMD160 bfe51f32b19dae5daa7878710aceed05e31b1e90 testoob-1.0.tar.bz2 73157
+SHA256 337ea5a30cdac6f6d87f7f9482b4b8f1675587135e3ac1bcd98589cf170a4be8 testoob-1.0.tar.bz2 73157
diff --git a/dev-python/testoob/files/testoob-1.0-fix.diff b/dev-python/testoob/files/testoob-1.0-fix.diff
new file mode 100644
index 000000000000..cb0ff6472652
--- /dev/null
+++ b/dev-python/testoob/files/testoob-1.0-fix.diff
@@ -0,0 +1,23 @@
+diff -Nru testoob-1.0.old/setup.py testoob-1.0/setup.py
+--- testoob-1.0.old/setup.py 2006-04-28 00:29:12.000000000 +0200
++++ testoob-1.0/setup.py 2006-04-30 20:10:36.000000000 +0200
+@@ -1,6 +1,7 @@
+ kwargs = {
+ 'packages' : ['testoob', 'testoob.compatibility', 'testoob.reporting', 'testoob.running'],
+ 'package_dir' : {'': 'src'},
++ 'package_data': {'testoob.reporting': ['html_report.xsl']},
+ 'scripts' : ['src/testoob/testoob'],
+
+ # meta-data
+diff -Nru testoob-1.0.old/src/testoob/reporting/html_standalone.py testoob-1.0/src/testoob/reporting/html_standalone.py
+--- testoob-1.0.old/src/testoob/reporting/html_standalone.py 2006-04-28 00:28:49.000000000 +0200
++++ testoob-1.0/src/testoob/reporting/html_standalone.py 2006-04-30 19:46:53.000000000 +0200
+@@ -87,7 +87,7 @@
+ _SkipTemplate='<tr><td>%s</td><td>%s</td><td><font color="blue">skipped</font></td><td>%s</td></tr>'
+ def addSkip(self, test_info, err_info):
+ BaseReporter.addSkip(self, test_info, err_info)
+- self._sio.write(HTMLReporter._SkipTemplate%(str(test_info), self._test_time(test_info), str(err_info.exception_value()))
++ self._sio.write(HTMLReporter._SkipTemplate%(str(test_info), self._test_time(test_info), str(err_info.exception_value())))
+
+ _FailTemplate="""
+ <tr><td>%s</td><td>%s</td><td><font color="red">%s</font></td>
diff --git a/dev-python/testoob/testoob-1.0.ebuild b/dev-python/testoob/testoob-1.0.ebuild
new file mode 100644
index 000000000000..2a1666d7b720
--- /dev/null
+++ b/dev-python/testoob/testoob-1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/testoob-1.0.ebuild,v 1.1 2006/04/30 18:25:52 lucass Exp $
+
+inherit distutils eutils
+
+DESCRIPTION="Advanced Python testing framework"
+HOMEPAGE="http://testoob.sourceforge.net/"
+SRC_URI="mirror://sourceforge/testoob/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~ia64 ~sparc ~x86"
+IUSE="pdf threads"
+
+DEPEND="virtual/python"
+RDEPEND="${DEPEND}
+ dev-python/4suite
+ pdf? ( dev-python/reportlab )
+ threads? ( dev-python/twisted )"
+
+DOCS="docs/*"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-fix.diff"
+}