summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-09 21:04:37 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-01-09 21:04:37 +0000
commit302f75381602f406c842db3d723961e2930ab70f (patch)
tree512c28100701c95add3194f7ebbfc7ca643d10cf /dev-ruby/test-unit
parentAdd ~arm (diff)
downloadhistorical-302f75381602f406c842db3d723961e2930ab70f.tar.gz
historical-302f75381602f406c842db3d723961e2930ab70f.tar.bz2
historical-302f75381602f406c842db3d723961e2930ab70f.zip
Version bump, enable doc generation, wrap the testrb command as testrb2 (to avoid collisions).
Package-Manager: portage-2.2_rc61/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/test-unit')
-rw-r--r--dev-ruby/test-unit/ChangeLog11
-rw-r--r--dev-ruby/test-unit/Manifest12
-rw-r--r--dev-ruby/test-unit/test-unit-2.0.6.ebuild47
3 files changed, 63 insertions, 7 deletions
diff --git a/dev-ruby/test-unit/ChangeLog b/dev-ruby/test-unit/ChangeLog
index 5c664b3e25f0..109d9a180fa5 100644
--- a/dev-ruby/test-unit/ChangeLog
+++ b/dev-ruby/test-unit/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-ruby/test-unit
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.13 2009/12/20 22:28:28 flameeyes Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.14 2010/01/09 21:04:37 flameeyes Exp $
+
+*test-unit-2.0.6 (09 Jan 2010)
+
+ 09 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ +test-unit-2.0.6.ebuild:
+ Version bump, enable doc generation, wrap the testrb command as testrb2
+ (to avoid collisions).
20 Dec 2009; Diego E. Pettenò <flameeyes@gentoo.org>
-test-unit-2.0.2-r1.ebuild, -test-unit-2.0.3.ebuild,
diff --git a/dev-ruby/test-unit/Manifest b/dev-ruby/test-unit/Manifest
index 3f917a9ca9d7..100c1868ee1b 100644
--- a/dev-ruby/test-unit/Manifest
+++ b/dev-ruby/test-unit/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
DIST test-unit-2.0.5.tgz 131079 RMD160 60a1e9cd26622f862d1bf19ae14fb217a3dd34ef SHA1 6f3284f402f2eaacd04608c2a3e003ddb3fb81c0 SHA256 2a57ca7b1452efa11281a7f6d26248c38b562f8b7092f478374f147f59eb2a5e
+DIST test-unit-2.0.6.tgz 132453 RMD160 431aaec553620cc2ed7739e8890fd4e5ff927651 SHA1 d856ba8519b63fd7cb098df3aac223441ef82c2c SHA256 019a42f7f28db49df6edce27b741a16f0b5885e50437c0dc7ed850c9ebbda5bf
EBUILD test-unit-2.0.5.ebuild 1171 RMD160 cc7af0e60881d364e8cbd9d57dfa5f53d2d72706 SHA1 27a61dd74db1bb8e958194f3b611c56f48e2feef SHA256 50e686cfbae706f540c7beb403b0d1464e48de8df587fd46c6a8f23d3ed5f788
-MISC ChangeLog 2223 RMD160 d8420494b23f2987bfdb39e8f20442a48de7a4a7 SHA1 33f363b91bfb5b78ca9aae8ee8377f8efa3e4314 SHA256 5b76d668059141dd8c8136612618092f7657393a3421007ee343eaecbe08ad80
+EBUILD test-unit-2.0.6.ebuild 1349 RMD160 d5cdea9350584ba1259fd0f3d77c1d9271e46603 SHA1 fc11e43105778d4a14c2e3305eee005e3a605b69 SHA256 353ad9c3fdd7e1afdc797c410357f6551b6ef066b8afecf8575668da41c49ade
+MISC ChangeLog 2438 RMD160 2e633bee5a961f2fa622d8e578ae331da9fc11e6 SHA1 043a5cec8afb9726ad95061ec05bd96f125b3e51 SHA256 1f9cbed4ead0e692c6ce18fa08a59fc8578e5b5a7e1de8a8de42602dd2ed62f9
MISC metadata.xml 313 RMD160 64f35fe17cb231f17c18f4ace1656b2389eebd07 SHA1 b2de46ec2cf3be4a04d73fa7a43a704408e0d2be SHA256 70c196238b5e24846ee90d328200906af70156308716e4ec568ae3e148e43813
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.13 (GNU/Linux)
+Version: GnuPG v2.0.14 (GNU/Linux)
-iEYEARECAAYFAksupQgACgkQAiZjviIA2XiIugCfSu+berjg3JxmF+qrxjhyWy9p
-oysAoMuCvjWG6l3yICA/kVhIf1n2H+7A
-=pQNX
+iEYEARECAAYFAktI728ACgkQAiZjviIA2XhspACeL8yu8J4X3O9I8UCoCDEV0Yv3
+kvIAnRgCT2hBBkn/Tqb6pviPWzi4LqB/
+=L+Bx
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/test-unit/test-unit-2.0.6.ebuild b/dev-ruby/test-unit/test-unit-2.0.6.ebuild
new file mode 100644
index 000000000000..fda29d719ba3
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-2.0.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/test-unit-2.0.6.ebuild,v 1.1 2010/01/09 21:04:37 flameeyes Exp $
+
+EAPI=2
+# One test fails on jruby, might be a jruby bug
+# When enabled on ruby18 it breaks too many things, so don't enable it for that just yet
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_TASK_DOC="docs"
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="TODO README.txt History.txt"
+
+# Disable default binwraps
+RUBY_FAKEGEM_BINWRAP=""
+
+inherit ruby-fakegem
+
+ruby_add_bdepend doc dev-ruby/hoe
+
+DESCRIPTION="An improved version of the Test::Unit framework from Ruby 1.8"
+HOMEPAGE="http://test-unit.rubyforge.org/"
+SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+each_ruby_test() {
+ # the rake audit using dev-ruby/zentest currently fails, and we
+ # just need to call the testsuite directly.
+ # rake audit || die "rake audit failed"
+ local rubyflags
+
+ [[ $(basename ${RUBY}) == jruby ]] && rubyflags="-X+O"
+
+ ${RUBY} ${rubyflags} test/run-test.rb || die "testsuite failed"
+}
+
+all_ruby_intall() {
+ all_fakegem_install
+
+ # Create a testrb2 wrapper similarly to the rdoc2 wrapper for
+ # rdoc-2* series.
+ ruby_fakegem_binwrapper testrb /usr/bint/testrb2
+}