mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-22 14:51:14 +02:00
transition to ruby30
This commit is contained in:
parent
444f38634a
commit
9ef5524a8c
2 changed files with 6 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ PORTAGE_IO_NICENESS="ionice -c 3 -p \${PID}"
|
|||
|
||||
#tslib causes circular deps with libsdl2
|
||||
USE="${INPUT_USE} X abi_x86_32 adns blake2 caps -consolekit curl elogind fbcon gles2 gps lm-sensors lm_sensors lto lua lvm lz4 lzip lzma lzo networkmanager oss pentoo-full perl pgo pulseaudio python ruby samba sqlite subversion verify-sig vdpau vaapi vulkan wayland xattr xinerama x265 zstd"
|
||||
#remove ruby 2.7 a little early
|
||||
USE="${USE} -ruby_targets_ruby27"
|
||||
|
||||
#ease python upgrade
|
||||
#USE="${USE} -python_targets_python2_7 python_targets_python3_10 python_targets_python3_11"
|
||||
|
|
|
|||
|
|
@ -108,6 +108,10 @@ set_java() {
|
|||
}
|
||||
|
||||
set_ruby() {
|
||||
if portageq has_version / dev-lang/ruby:3.0; then
|
||||
eselect ruby set ruby30
|
||||
return 0
|
||||
fi
|
||||
if portageq has_version / dev-lang/ruby:2.7; then
|
||||
eselect ruby set ruby27
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue