Gentoo Archives: gentoo-commits

From: Hans de Graaff <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/digest/
Date: Sat, 09 Apr 2022 10:35:29
Message-Id: 1649500519.dc86a0c5ec2393a6dfbe34832599aeca2e6ecb9d.graaff@gentoo
1 commit: dc86a0c5ec2393a6dfbe34832599aeca2e6ecb9d
2 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 9 08:07:11 2022 +0000
4 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 9 10:35:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc86a0c5
7
8 dev-ruby/digest: enable ruby31
9
10 Avoid dependency on rake-compiler.
11
12 Closes: https://bugs.gentoo.org/833261
13 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>
14
15 dev-ruby/digest/digest-3.1.0.ebuild | 6 +++++-
16 1 file changed, 5 insertions(+), 1 deletion(-)
17
18 diff --git a/dev-ruby/digest/digest-3.1.0.ebuild b/dev-ruby/digest/digest-3.1.0.ebuild
19 index 1f24c462d2a8..ab155997e8f1 100644
20 --- a/dev-ruby/digest/digest-3.1.0.ebuild
21 +++ b/dev-ruby/digest/digest-3.1.0.ebuild
22 @@ -2,7 +2,7 @@
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=8
26 -USE_RUBY="ruby26 ruby27 ruby30"
27 +USE_RUBY="ruby26 ruby27 ruby30 ruby31"
28
29 RUBY_FAKEGEM_BINWRAP=""
30 RUBY_FAKEGEM_EXTENSIONS="ext/digest/extconf.rb"
31 @@ -23,3 +23,7 @@ IUSE=""
32 all_ruby_prepare() {
33 sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die
34 }
35 +
36 +each_ruby_test() {
37 + ${RUBY} -Ilib:.:test -e 'Dir["test/**/*_test.rb"].each{|f| require f}' || die
38 +}