diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-15 00:53:52 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2010-01-15 00:53:52 +0000 |
commit | 0bc2c01f81aa58c86c004481c05a3153b4ae2c54 (patch) | |
tree | 1be2a6c3e8d6c5e3561d2dbeb679b8582401db08 /dev-ruby | |
parent | whitespace (diff) | |
download | gentoo-2-0bc2c01f81aa58c86c004481c05a3153b4ae2c54.tar.gz gentoo-2-0bc2c01f81aa58c86c004481c05a3153b4ae2c54.tar.bz2 gentoo-2-0bc2c01f81aa58c86c004481c05a3153b4ae2c54.zip |
Add support for JRuby, make sure to enable extended ObjectSpace though.
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/zentest/ChangeLog | 6 | ||||
-rw-r--r-- | dev-ruby/zentest/zentest-4.2.1.ebuild | 10 |
2 files changed, 13 insertions, 3 deletions
diff --git a/dev-ruby/zentest/ChangeLog b/dev-ruby/zentest/ChangeLog index 54167172a4f8..36c3765e709f 100644 --- a/dev-ruby/zentest/ChangeLog +++ b/dev-ruby/zentest/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-ruby/zentest # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/zentest/ChangeLog,v 1.62 2010/01/14 15:49:35 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/zentest/ChangeLog,v 1.63 2010/01/15 00:53:52 flameeyes Exp $ + + 15 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> + zentest-4.2.1.ebuild: + Add support for JRuby, make sure to enable extended ObjectSpace though. 14 Jan 2010; Brent Baude <ranger@gentoo.org> zentest-4.2.1.ebuild: Marking zentest-4.2.1 ~ppc for bug 298367 diff --git a/dev-ruby/zentest/zentest-4.2.1.ebuild b/dev-ruby/zentest/zentest-4.2.1.ebuild index db56139b3085..4e64ddae1acc 100644 --- a/dev-ruby/zentest/zentest-4.2.1.ebuild +++ b/dev-ruby/zentest/zentest-4.2.1.ebuild @@ -1,10 +1,10 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/zentest/zentest-4.2.1.ebuild,v 1.5 2010/01/14 15:49:35 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/zentest/zentest-4.2.1.ebuild,v 1.6 2010/01/15 00:53:52 flameeyes Exp $ EAPI=2 -USE_RUBY="ruby18 ruby19" +USE_RUBY="ruby18 ruby19 jruby" RUBY_FAKEGEM_NAME=ZenTest @@ -25,6 +25,12 @@ IUSE="" ruby_add_bdepend doc 'dev-ruby/hoe dev-ruby/hoe-seattlerb' ruby_add_bdepend test 'dev-ruby/hoe dev-ruby/hoe-seattlerb virtual/ruby-minitest' +each_ruby_test() { + # JRuby needs the extended objectspace. We do it here + # unconditional in this easy way. + JRUBY_OPTS="${JRUBY_OPTS} -X+O" each_fakegem_test +} + pkg_postinst() { ewarn "Since 4.1.1 ZenTest no longer bundles support to run autotest Rails projects." ewarn "Please install dev-ruby/autotest-rails to add Rails support to autotest." |