summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-07-19 08:55:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-07-19 08:55:07 +0000
commit62094a906f58dc35fd07dbffcbd54f2b8bcde5b4 (patch)
treee25b351701d07e5572368781efb1152234ea8f77 /dev-ruby/test-unit
parentFixed bug #269907 by removing a possibly created directory .wapi in (diff)
downloadgentoo-2-62094a906f58dc35fd07dbffcbd54f2b8bcde5b4.tar.gz
gentoo-2-62094a906f58dc35fd07dbffcbd54f2b8bcde5b4.tar.bz2
gentoo-2-62094a906f58dc35fd07dbffcbd54f2b8bcde5b4.zip
Version bump.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/test-unit')
-rw-r--r--dev-ruby/test-unit/ChangeLog8
-rw-r--r--dev-ruby/test-unit/test-unit-2.0.3.ebuild51
2 files changed, 58 insertions, 1 deletions
diff --git a/dev-ruby/test-unit/ChangeLog b/dev-ruby/test-unit/ChangeLog
index 36f6e1f98e42..c4a9f30318a9 100644
--- a/dev-ruby/test-unit/ChangeLog
+++ b/dev-ruby/test-unit/ChangeLog
@@ -1,6 +1,12 @@
# 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.7 2009/05/22 23:42:07 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/test-unit/ChangeLog,v 1.8 2009/07/19 08:55:07 flameeyes Exp $
+
+*test-unit-2.0.3 (19 Jul 2009)
+
+ 19 Jul 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ +test-unit-2.0.3.ebuild:
+ Version bump.
22 May 2009; Diego E. Pettenò <flameeyes@gentoo.org>
test-unit-2.0.2-r1.ebuild:
diff --git a/dev-ruby/test-unit/test-unit-2.0.3.ebuild b/dev-ruby/test-unit/test-unit-2.0.3.ebuild
new file mode 100644
index 000000000000..258c0856f02e
--- /dev/null
+++ b/dev-ruby/test-unit/test-unit-2.0.3.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 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.3.ebuild,v 1.1 2009/07/19 08:55:07 flameeyes Exp $
+
+inherit ruby
+
+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 ~x86 ~x86-fbsd"
+IUSE="doc"
+
+DEPEND="
+ doc? ( dev-ruby/rake
+ dev-ruby/hoe )"
+# test? ( dev-ruby/rake
+# dev-ruby/hoe
+# dev-ruby/zentest )"
+RDEPEND=""
+
+USE_RUBY="ruby18 ruby19"
+
+src_compile() {
+ if use doc; then
+ rake doc || die "rake doc failed"
+ fi
+}
+
+src_test() {
+ for ruby in $USE_RUBY; do
+ [[ -n `type -p $ruby` ]] || continue
+ # the rake audit using dev-ruby/zentest currently fails, and we
+ # just need to call the testsuite directly.
+ # rake audit || die "rake audit failed"
+ $ruby test/run-test.rb || die "testsuite failed"
+ done
+}
+
+src_install() {
+ cd "${S}"/lib
+ doruby -r * || die "doruby failed"
+
+ if use doc; then
+ dohtml -r "${S}"/doc/* || die "dohtml failed"
+ fi
+
+ dodoc "${S}"/{TODO,README.txt,History.txt} || die "dodoc failed"
+}