sys-libs/libnih: stable 1.0.3-r4 for hppa, bug #724174
[gentoo.git] / eclass / ruby-utils.eclass
index 89d06fd75e3349bdd144b8a3d67ef6cc3d2cfd35..2934c94ffac9e1d15b0121875de484ffbbcaf301 100644 (file)
@@ -28,10 +28,10 @@ if [[ ! ${_RUBY_UTILS} ]]; then
 # provide for a better first installation experience.
 
 # All stable RUBY_TARGETS
-RUBY_TARGETS_PREFERENCE="ruby24 "
+RUBY_TARGETS_PREFERENCE="ruby25 ruby24 "
 
 # All other active ruby targets
-RUBY_TARGETS_PREFERENCE+="ruby25 ruby26"
+RUBY_TARGETS_PREFERENCE+="ruby26 ruby27"
 
 
 _ruby_implementation_depend() {
@@ -75,6 +75,10 @@ _ruby_implementation_depend() {
                        rubypn="dev-lang/ruby"
                        rubyslot=":2.6"
                        ;;
+               ruby27)
+                       rubypn="dev-lang/ruby"
+                       rubyslot=":2.7"
+                       ;;
                ree18)
                        rubypn="dev-lang/ruby-enterprise"
                        rubyslot=":1.8"