summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-01 16:42:04 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-02-01 16:42:04 +0000
commit1ec4d9e7f3520e51a92020a01768631df75e6caa (patch)
tree42f7fe1d83d764d2a8343a11615b2635f993e259 /dev-ruby/racc
parentAdd support for JRuby. (diff)
downloadgentoo-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')
-rw-r--r--dev-ruby/racc/ChangeLog5
-rw-r--r--dev-ruby/racc/racc-1.4.6.ebuild19
2 files changed, 19 insertions, 5 deletions
diff --git a/dev-ruby/racc/ChangeLog b/dev-ruby/racc/ChangeLog
index 7daf86970e96..286612b70036 100644
--- a/dev-ruby/racc/ChangeLog
+++ b/dev-ruby/racc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/racc
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.46 2010/01/21 11:23:46 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/racc/ChangeLog,v 1.47 2010/02/01 16:42:04 flameeyes Exp $
+
+ 01 Feb 2010; Diego E. Pettenò <flameeyes@gentoo.org> racc-1.4.6.ebuild:
+ Add support for JRuby, blacklisting tests.
21 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org> racc-1.4.6.ebuild,
+files/racc-1.4.6-test-unit.patch:
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