Diff timers-4.3.5-r1 with a timers-4.4.0
/usr/portage/dev-ruby/timers/timers-4.4.0.ebuild 2025-07-29 16:22:14.232454920 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
1 |
# Copyright 1999-2025 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
USE_RUBY="ruby31 ruby32 ruby33" |
|
6 |
USE_RUBY="ruby31 ruby32 ruby33 ruby34" |
|
7 | 7 | |
8 | 8 |
RUBY_FAKEGEM_EXTRADOC="readme.md" |
9 | 9 | |
... | ... | |
20 | 20 |
SLOT="4" |
21 | 21 |
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86 ~ppc-macos ~x64-macos ~x64-solaris" |
22 | 22 | |
23 |
PATCHES=( |
|
24 |
# https://github.com/socketry/timers/issues/82 |
|
25 |
"${FILESDIR}"/${P}-timers-slow.patch |
|
26 |
) |
|
27 | ||
28 | 23 |
all_ruby_prepare() { |
29 | 24 |
sed -i -e 's:_relative ": "./:' ${RUBY_FAKEGEM_GEMSPEC} || die |
30 | 25 | |
26 |
# Avoid coverage dependencies |
|
27 |
rm -f config/sus.rb || die |
|
28 | ||
31 | 29 |
# Avoid performance-based tests since we cannot guarantee specific performance levels. |
32 | 30 |
rm -f test/timers/performance.rb || die |
33 | 31 |
} |