Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Cc: ruby@g.o, Sam James <sam@g.o>
Subject: [gentoo-dev] [PATCH v2 2/3] ruby-ng.eclass: use eqawarn for test dependency warning
Date: Sat, 18 Mar 2023 23:13:33
Message-Id: 20230318231259.3814839-2-sam@gentoo.org
In Reply to: [gentoo-dev] [PATCH v2 1/3] ruby-ng.eclass: allow non-fatal use of test functions by Sam James
1 We already inherit the eqawarn eclass and use it elsewhere
2 in this eclass, so it's available & this then fits the rest
3 of our use.
4
5 Signed-off-by: Sam James <sam@g.o>
6 ---
7 eclass/ruby-ng.eclass | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
11 index aa8a15170cf80..f85a933f81d97 100644
12 --- a/eclass/ruby-ng.eclass
13 +++ b/eclass/ruby-ng.eclass
14 @@ -699,7 +699,7 @@ ruby-ng_rspec() {
15 fi
16
17 if [[ "${DEPEND}${BDEPEND}" != *"dev-ruby/rspec"* ]]; then
18 - ewarn "Missing test dependency dev-ruby/rspec"
19 + eqawarn "Missing test dependency dev-ruby/rspec"
20 fi
21
22 local rspec_params=
23 --
24 2.40.0