699 Commits

Author SHA1 Message Date
Alfred Wingate
a386f4a437 dev-lang/ruby: handle tcl/tk 9 default enabling threads
Bug: https://bugs.gentoo.org/868468
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Merges: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-26 08:48:47 +01:00
Alfred Wingate
f2c6ef558e dev-lang/ruby: remove automagic on gmp
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-26 08:48:46 +01:00
Alfred Wingate
21cdb7e4b8 dev-lang/ruby: filter lto in older ruby
Bug: https://bugs.gentoo.org/972696
See-Also: f5d6088c5a
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-26 08:48:45 +01:00
Alfred Wingate
b8bbb910a0 dev-lang/ruby: add 4.0.6
Bug: https://bugs.gentoo.org/979773
Bug: https://bugs.gentoo.org/979775
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-26 08:48:44 +01:00
Alfred Wingate
8d0717258c dev-lang/ruby: add 3.4.10
Bug: https://bugs.gentoo.org/979773
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-26 08:48:43 +01:00
Alfred Wingate
32e8ff420c dev-lang/ruby: add 3.3.12
Bug: https://bugs.gentoo.org/979773
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1530
Signed-off-by: Sam James <sam@gentoo.org>
2026-07-26 08:48:41 +01:00
Sam James
4889f158d8 dev-lang/ruby: add 4.0.4
Signed-off-by: Sam James <sam@gentoo.org>
2026-05-13 00:35:10 +01:00
Sam James
21bb85f878 dev-lang/ruby: add missing local, style tweaks
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-24 03:20:49 +01:00
Sam James
de4184d92a dev-lang/ruby: drop 4.0.1, 4.0.2
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-24 03:17:49 +01:00
Sam James
c231b4b049 dev-lang/ruby: drop 3.4.8
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-24 03:17:33 +01:00
Sam James
07b5090af0 dev-lang/ruby: drop 3.3.10-r1
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-24 03:17:24 +01:00
Sam James
0ea7455f26 dev-lang/ruby: drop 3.2.9-r1
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-24 03:17:05 +01:00
Sam James
f5d6088c5a dev-lang/ruby: avoid UB with coroutines for 4.0.x
Define RB_THREAD_CURRENT_EC_NOINLINE to always make a function call to
get the coroutine execution context. Without it, GCC 16's x86 CSE pass
will (with TLS descriptors at least) cache the value.

971174054a26be0a4becbe7c67a7cc980158abf2 added the convenient macro
in 4.0.0, so for older releases, we'll have to patch instead.

Bug: https://bugs.ruby-lang.org/issues/20243
Bug: https://gcc.gnu.org/PR124995
Closes: https://bugs.gentoo.org/972696
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-23 13:18:02 +01:00
Sam James
a22fa44a46 dev-lang/ruby: ChangeLog is gone
Closes: https://bugs.gentoo.org/973062
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-22 01:10:09 +01:00
Sam James
9b3bfa1421 dev-lang/ruby: add 4.0.3
While here, control zjit with USE=jit too (especially as it needs Rust),
and filter -flto-partition=cache because of a GCC bug that fails to link.

Signed-off-by: Sam James <sam@gentoo.org>
2026-04-21 20:58:30 +01:00
Sam James
9985f1024d dev-lang/ruby: refine live template
* Move BDEPEND to be conditional on live
* Install ChangeLog for non-live (it's generated for dist tarballs)
* Add missing MY_PV

Signed-off-by: Sam James <sam@gentoo.org>
2026-04-21 20:58:29 +01:00
Sam James
eec7c3a8d7 dev-lang/ruby: add missing die; conditionalise config.* copy
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-16 16:33:21 +01:00
Christopher Fore
661a6f3183 dev-lang/ruby: add 3.3.9999, 3.4.9999, 4.0.9999
Made sure to copy from the respective slot version to keep
version-specific details.

Did not do 3.2, as it is EOL and likely will not be receiving any new
commits.

Signed-off-by: Christopher Fore <csfore@gentoo.org>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/648
Merges: https://codeberg.org/gentoo/gentoo/pulls/648
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-16 16:31:47 +01:00
Eli Schwartz
2f3aa98933 dev-lang/ruby: Stabilize 3.3.11 ppc, #972589
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:56 -04:00
Eli Schwartz
59f267ebab dev-lang/ruby: Stabilize 3.3.11 arm64, #972589
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:56 -04:00
Eli Schwartz
61315048d7 dev-lang/ruby: Stabilize 3.3.11 arm, #972589
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:55 -04:00
Eli Schwartz
a25b2dd1dd dev-lang/ruby: Stabilize 3.3.11 ppc64, #972589
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:55 -04:00
Eli Schwartz
69ee46ecbb dev-lang/ruby: Stabilize 3.3.11 amd64, #972589
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:55 -04:00
Eli Schwartz
03349493be dev-lang/ruby: Stabilize 3.3.11 x86, #972589
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:54 -04:00
Eli Schwartz
4f4325646e dev-lang/ruby: Stabilize 3.2.11 ppc, #972588
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:54 -04:00
Eli Schwartz
1ae0c9d3c8 dev-lang/ruby: Stabilize 3.2.11 amd64, #972588
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-13 07:35:54 -04:00
Eli Schwartz
93769b5a5d dev-lang/ruby: Stabilize 3.2.10 ppc64, #972521
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-12 20:37:24 -04:00
Eli Schwartz
098b9349eb dev-lang/ruby: Stabilize 3.2.10 ppc, #972521
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-12 20:37:24 -04:00
Eli Schwartz
473398fced dev-lang/ruby: Stabilize 3.2.10 arm, #972521
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-12 10:33:44 -04:00
Eli Schwartz
d3af6066ad dev-lang/ruby: Stabilize 3.2.10 x86, #972521
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-04-12 10:26:59 -04:00
Sam James
07e82748d6 dev-lang/ruby: drop niceness test
On one machine (and one machine only), it fails for me with:
```
1)
Process.setpriority sets the scheduling priority for a specified process FAILED
Expected [19, 0, 19] == [19, 0, 20]
to be truthy but was false
/var/tmp/portage/dev-lang/ruby-3.3.11/work/ruby-3.3.11/spec/ruby/core/process/setpriority_spec.rb:11:in `block (3 levels) in <top (required)>'
/var/tmp/portage/dev-lang/ruby-3.3.11/work/ruby-3.3.11/spec/ruby/core/process/setpriority_spec.rb:3:in `<top (required)>'

2)
Process.setpriority sets the scheduling priority for a specified process group FAILED
Expected [19, 0, 19] == [19, 0, 20]
to be truthy but was false
/var/tmp/portage/dev-lang/ruby-3.3.11/work/ruby-3.3.11/spec/ruby/core/process/setpriority_spec.rb:25:in `block (4 levels) in <top (required)>'
/var/tmp/portage/dev-lang/ruby-3.3.11/work/ruby-3.3.11/spec/ruby/core/process/setpriority_spec.rb:3:in `<top (required)>'
[| | ==================100%================== | 00:00:00]      2F      0E

Finished in 64.439366 seconds
```

where I have PORTAGE_SCHEDULING_POLICY="idle" and PORTAGE_NICENESS="19".

Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 10:59:46 +01:00
Sam James
a2cc7c6044 dev-lang/ruby: Stabilize 3.2.10 arm64, #972521
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 09:51:47 +01:00
Sam James
2ad3147158 dev-lang/ruby: Stabilize 3.2.10 amd64, #972521
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 09:41:50 +01:00
Sam James
ccd8b67fd4 dev-lang/ruby: fix tests w/ glibc-2.42 in 3.2
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 08:00:16 +01:00
Sam James
cfd352dc8d dev-lang/ruby: add 4.0.2
* Drop -fno-ipa-modref workaround, fixed in this release
* Use array for configure options

Bug: https://bugs.gentoo.org/933070
Bug: https://bugs.gentoo.org/969386
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 05:21:52 +01:00
Sam James
eb7ede1b57 dev-lang/ruby: add 3.4.9
* Drop -fno-ipa-modref workaround, fixed in this release
* Use array for configure options

Bug: https://bugs.gentoo.org/933070
Bug: https://bugs.gentoo.org/969386
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 04:43:44 +01:00
Sam James
a537484d16 dev-lang/ruby: add 3.3.11
* Drop -fno-ipa-modref workaround, fixed in this release
* Use array for configure options

Bug: https://bugs.gentoo.org/933070
Bug: https://bugs.gentoo.org/969386
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 04:43:43 +01:00
Sam James
6cf164e9fc dev-lang/ruby: add 3.2.11
* Drop -fno-ipa-modref workaround, fixed in this release
* Use array for configure options
* Backport the x32 fix

Bug: https://bugs.gentoo.org/933070
Bug: https://bugs.gentoo.org/969386
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 04:43:43 +01:00
Sam James
478b8e8b91 dev-lang/ruby: drop 4.0.0
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 04:43:42 +01:00
Sam James
169ca10106 dev-lang/ruby: drop 3.3.8
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 04:43:42 +01:00
Sam James
891828cc04 dev-lang/ruby: drop 3.2.7, 3.2.8
Signed-off-by: Sam James <sam@gentoo.org>
2026-04-11 04:43:42 +01:00
Hans de Graaff
2331b95bc7 dev-lang/ruby: add 3.2.10
Bug: https://bugs.gentoo.org/964431
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2026-01-15 16:47:44 +01:00
Hans de Graaff
72ce90bf09 dev-lang/ruby: add 4.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2026-01-13 08:48:56 +01:00
Eli Schwartz
8ad350b4d7 dev-lang/ruby: Stabilize 3.3.10-r1 ppc64, #968539
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-09 04:37:18 -05:00
Eli Schwartz
51bfd9ee33 dev-lang/ruby: Stabilize 3.3.10-r1 amd64, #968539
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-09 04:37:18 -05:00
Eli Schwartz
abce03495d dev-lang/ruby: Stabilize 3.3.10-r1 x86, #968539
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-09 04:37:18 -05:00
Eli Schwartz
476ca04f51 dev-lang/ruby: Stabilize 3.3.10-r1 arm, #968539
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-09 03:18:50 -05:00
Eli Schwartz
aac868522d dev-lang/ruby: Stabilize 3.3.10-r1 arm64, #968539
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-09 03:18:50 -05:00
Eli Schwartz
f681c8aae3 dev-lang/ruby: Stabilize 3.3.10-r1 ppc, #968539
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-09 03:18:49 -05:00
Eli Schwartz
abf416e4f1 dev-lang/ruby: Stabilize 3.2.9-r1 ppc64, #968533
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
2026-01-09 00:07:29 -05:00