Diff i18n-1.13.0 with a i18n-1.14.1
/usr/portage/dev-ruby/i18n/i18n-1.14.1.ebuild 2023-10-09 14:52:30.440368374 +0300 | ||
---|---|---|
4 | 4 |
EAPI=8 |
5 | 5 | |
6 | 6 |
USE_RUBY="ruby30 ruby31 ruby32" |
7 | ||
8 | 7 |
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" |
9 | ||
10 | 8 |
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
11 | 9 | |
12 | 10 |
inherit ruby-fakegem |
... | ... | |
18 | 16 |
LICENSE="MIT" |
19 | 17 |
SLOT="$(ver_cut 1)" |
20 | 18 |
KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" |
21 |
IUSE="" |
|
22 | 19 | |
23 | 20 |
ruby_add_rdepend "dev-ruby/concurrent-ruby:1" |
24 | 21 | |
25 |
# We need mocha:1.0 which corresponds to the Gemfiles used in each_ruby_test |
|
26 |
ruby_add_bdepend "test? ( |
|
27 |
>=dev-ruby/activesupport-5.1 |
|
28 |
dev-ruby/bundler |
|
29 |
>=dev-ruby/minitest-5.14:5 |
|
30 |
>=dev-ruby/mocha-1.7.0:1.0 |
|
31 |
dev-ruby/test_declarative )" |
|
22 |
ruby_add_bdepend " |
|
23 |
test? ( |
|
24 |
>=dev-ruby/activesupport-5.1 |
|
25 |
dev-ruby/bundler |
|
26 |
>=dev-ruby/minitest-5.14:5 |
|
27 |
dev-ruby/mocha:2 |
|
28 |
dev-ruby/test_declarative |
|
29 |
) |
|
30 |
" |
|
32 | 31 | |
33 | 32 |
all_ruby_prepare() { |
34 | 33 |
rm -f gemfiles/*.lock || die |
... | ... | |
37 | 36 |
sed -i -e '/oj/ s:^:#:' gemfiles/* || die |
38 | 37 | |
39 | 38 |
# Update old test dependencies |
40 |
sed -i -e '/rake/ s/~>/>=/' -e 's/1.7.0/1.7/' -e '3igem "json"' gemfiles/* || die |
|
39 |
sed -i -e '/rake/ s/~>/>=/' -e '/mocha/ s/1.7.0/2.0/' -e '3igem "json"' gemfiles/* || die |
|
40 | ||
41 |
# Use mocha 2 to avoid minitest deprecation issues. |
|
42 |
sed -i -e 's:mocha/setup:mocha/minitest:' test/test_helper.rb || die |
|
41 | 43 |
} |
42 | 44 | |
43 | 45 |
each_ruby_test() { |