diff options
author | 2010-02-01 16:42:04 +0000 | |
---|---|---|
committer | 2010-02-01 16:42:04 +0000 | |
commit | 1ec4d9e7f3520e51a92020a01768631df75e6caa (patch) | |
tree | 42f7fe1d83d764d2a8343a11615b2635f993e259 /dev-ruby/racc/racc-1.4.6.ebuild | |
parent | Add support for JRuby. (diff) | |
download | gentoo-2-1ec4d9e7f3520e51a92020a01768631df75e6caa.tar.gz gentoo-2-1ec4d9e7f3520e51a92020a01768631df75e6caa.tar.bz2 gentoo-2-1ec4d9e7f3520e51a92020a01768631df75e6caa.zip |
Add support for JRuby, blacklisting tests.
(Portage version: 2.2_rc62/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/racc/racc-1.4.6.ebuild')
-rw-r--r-- | dev-ruby/racc/racc-1.4.6.ebuild | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/dev-ruby/racc/racc-1.4.6.ebuild b/dev-ruby/racc/racc-1.4.6.ebuild index d1142a1a3b1a..06a0fc54e931 100644 --- a/dev-ruby/racc/racc-1.4.6.ebuild +++ b/dev-ruby/racc/racc-1.4.6.ebuild @@ -1,12 +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/racc/racc-1.4.6.ebuild,v 1.3 2010/01/21 11:23:46 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/racc-1.4.6.ebuild,v 1.4 2010/02/01 16:42:04 flameeyes Exp $ EAPI=2 -# jruby → testsuite uses fork (incompatible with JRuby), and patched -# one crashes JRuby 1.4.0. -USE_RUBY="ruby18 ruby19" +USE_RUBY="ruby18 ruby19 jruby" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.en.rdoc README.ja.rdoc TODO ChangeLog" @@ -55,6 +53,19 @@ each_ruby_compile() { esac } +each_ruby_test() { + case ${RUBY} in + *jruby) + ewarn "Using JRuby 1.4.0 the tests are currently badly broken," + ewarn "so they are disabled until a new racc or a new JRuby is" + ewarn "released." + ;; + *) + each_fakegem_test + ;; + esac +} + all_ruby_install() { all_fakegem_install |