mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 14:49:30 -07:00
dev-ruby/digest: enable ruby31
Avoid dependency on rake-compiler. Closes: https://bugs.gentoo.org/833261 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
USE_RUBY="ruby26 ruby27 ruby30"
|
||||
USE_RUBY="ruby26 ruby27 ruby30 ruby31"
|
||||
|
||||
RUBY_FAKEGEM_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTENSIONS="ext/digest/extconf.rb"
|
||||
@@ -23,3 +23,7 @@ IUSE=""
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user