commit:     2187e3945052a0b85037fc0e73ad6deed019a7a2
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 18 06:41:48 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 20 07:07:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2187e394

ruby-ng.eclass: drop support for jruby

jruby has been removed from the tree for quite some time and is not
used at all anymore in ebuilds. This also drops an inherit of
java-utils-2.

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 eclass/ruby-ng.eclass | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 90c36cd86e4..a6c4c3396b3 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -73,7 +73,7 @@ case ${EAPI} in
                ;;
 esac
 
-inherit ${inherits} java-utils-2 multilib toolchain-funcs ruby-utils
+inherit ${inherits} multilib toolchain-funcs ruby-utils
 
 EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test 
src_install pkg_setup
 
@@ -402,8 +402,6 @@ ruby-ng_pkg_setup() {
        # before doing anything; by leaving the parameters empty we know
        # it's a special case.
        _ruby_each_implementation
-
-       has ruby_targets_jruby ${IUSE} && use ruby_targets_jruby && 
java-pkg_setup-vm
 }
 
 # @FUNCTION: ruby-ng_src_unpack
@@ -619,9 +617,6 @@ ruby_get_implementation() {
        local ruby=${RUBY:-$(type -p ruby 2>/dev/null)}
 
        case $(${ruby} --version) in
-               *jruby*)
-                       echo "jruby"
-                       ;;
                *rubinius*)
                        echo "rbx"
                        ;;
@@ -703,11 +698,6 @@ ruby-ng_cucumber() {
                        ;;
        esac
 
-       if [[ ${RUBY} == *jruby ]]; then
-               ewarn "Skipping cucumber tests on JRuby (unsupported)."
-               return 0
-       fi
-
        ${RUBY} -S cucumber ${cucumber_params} "$@" || die "cucumber failed"
 }
 

Reply via email to