summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-04-09 10:07:11 +0200
committerHans de Graaff <graaff@gentoo.org>2022-04-09 12:35:19 +0200
commitdc86a0c5ec2393a6dfbe34832599aeca2e6ecb9d (patch)
treeb57bac1ed28b250ca712e23da2ce387f97632dd8 /dev-ruby
parentmedia-sound/puddletag: Remove old. (diff)
downloadgentoo-dc86a0c5ec2393a6dfbe34832599aeca2e6ecb9d.tar.gz
gentoo-dc86a0c5ec2393a6dfbe34832599aeca2e6ecb9d.tar.bz2
gentoo-dc86a0c5ec2393a6dfbe34832599aeca2e6ecb9d.zip
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>
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/digest/digest-3.1.0.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/digest/digest-3.1.0.ebuild b/dev-ruby/digest/digest-3.1.0.ebuild
index 1f24c462d2a8..ab155997e8f1 100644
--- a/dev-ruby/digest/digest-3.1.0.ebuild
+++ b/dev-ruby/digest/digest-3.1.0.ebuild
@@ -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
+}