Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: ruby@g.o, Naohiro Aota <naota@g.o>
Subject: Re: [gentoo-dev] [PATCH 5/9] ruby-ng-gnome2.eclass: add test dependency
Date: Sun, 16 Feb 2020 05:42:36
Message-Id: 83fb18c6ab25119b080ac7e7675d34a7315e5537.camel@gentoo.org
In Reply to: [gentoo-dev] [PATCH 5/9] ruby-ng-gnome2.eclass: add test dependency by Naohiro Aota
1 On Sat, 2020-02-15 at 21:18 +0900, Naohiro Aota wrote:
2 > Signed-off-by: Naohiro Aota <naota@g.o>
3 > ---
4 > eclass/ruby-ng-gnome2.eclass | 4 +++-
5 > 1 file changed, 3 insertions(+), 1 deletion(-)
6 >
7 > diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
8 > index edb420c9a3a8..dc48a53c58cd 100644
9 > --- a/eclass/ruby-ng-gnome2.eclass
10 > +++ b/eclass/ruby-ng-gnome2.eclass
11 > @@ -29,7 +29,9 @@ inherit ruby-fakegem multilib versionator
12 > IUSE=""
13 >
14 > DEPEND="virtual/pkgconfig"
15 > -ruby_add_bdepend "dev-ruby/pkg-config"
16 > +ruby_add_bdepend "
17 > + dev-ruby/pkg-config
18 > + test? ( >=dev-ruby/test-unit-2 )"
19
20 I don't know if ruby has some deep magic for this but it looks
21 suspicious to set test?-deps without adding IUSE=test and RESTRICT.
22
23 > RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME}
24 > SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz"
25 > HOMEPAGE="https://ruby-gnome2.osdn.jp/"
26
27 --
28 Best regards,
29 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature