Diff rubygems-3.4.15 with a rubygems-3.4.19
/usr/portage/dev-ruby/rubygems/rubygems-3.4.19.ebuild 2023-10-09 14:52:30.464368375 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
USE_RUBY="ruby30 ruby31 ruby32" |
|
6 |
USE_RUBY="ruby31 ruby32" |
|
7 | 7 | |
8 | 8 |
inherit ruby-ng prefix |
9 | 9 | |
... | ... | |
63 | 63 | |
64 | 64 |
each_ruby_compile() { |
65 | 65 |
# Not really a build but... |
66 |
sed -i -e 's:#!.*:#!'"${RUBY}"':' bin/gem |
|
66 |
sed -i -e 's:#!.*:#!'"${RUBY}"':' exe/gem |
|
67 | 67 |
} |
68 | 68 | |
69 | 69 |
each_ruby_test() { |
... | ... | |
72 | 72 | |
73 | 73 |
if [[ "${EUID}" -ne "0" ]]; then |
74 | 74 |
RUBYLIB="$(pwd)/lib${RUBYLIB+:${RUBYLIB}}" ${RUBY} --disable-gems -I.:lib:test:bundler/lib \ |
75 |
-e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { |tu| require tu }' || die "tests failed" |
|
75 |
-e 'require "rubygems"; gem "minitest", "~>5.0"; Dir["test/**/test_*.rb"].each { require _1 }' || die "tests failed" |
|
76 | 76 |
else |
77 | 77 |
ewarn "The userpriv feature must be enabled to run tests, bug 408951." |
78 | 78 |
eerror "Testsuite will not be run." |
... | ... | |
92 | 92 |
insinto "${sld#${EPREFIX}}" # bug #320813 |
93 | 93 |
newins "${FILESDIR}/auto_gem.rb.ruby19" auto_gem.rb |
94 | 94 | |
95 |
newbin bin/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') |
|
95 |
newbin exe/gem $(basename ${RUBY} | sed -e 's:ruby:gem:') |
|
96 | 96 |
} |
97 | 97 | |
98 | 98 |
all_ruby_install() { |