summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2018-07-18 08:41:48 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-20 09:07:40 +0200
commit2187e3945052a0b85037fc0e73ad6deed019a7a2 (patch)
treee3238a61f1c03d20fc136b10e243ce62d524a816 /eclass
parentapp-arch/zstd: Bump (diff)
downloadgentoo-2187e3945052a0b85037fc0e73ad6deed019a7a2.tar.gz
gentoo-2187e3945052a0b85037fc0e73ad6deed019a7a2.tar.bz2
gentoo-2187e3945052a0b85037fc0e73ad6deed019a7a2.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-ng.eclass12
1 files changed, 1 insertions, 11 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 90c36cd86e40..a6c4c3396b37 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"
}