1 |
commit: 64758ae5fbe4825442c9da818eb8c7410e1cb2d4 |
2 |
Author: Naohiro Aota <naota <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Feb 15 04:31:27 2020 +0000 |
4 |
Commit: Naohiro Aota <naota <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 30 07:21:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64758ae5 |
7 |
|
8 |
ruby-ng-gnome2.eclass: add test dependency |
9 |
|
10 |
Signed-off-by: Naohiro Aota <naota <AT> gentoo.org> |
11 |
|
12 |
eclass/ruby-ng-gnome2.eclass | 7 +++++-- |
13 |
1 file changed, 5 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass |
16 |
index 7391ef14069..df14f40d83a 100644 |
17 |
--- a/eclass/ruby-ng-gnome2.eclass |
18 |
+++ b/eclass/ruby-ng-gnome2.eclass |
19 |
@@ -26,10 +26,13 @@ RUBY_FAKEGEM_TASK_DOC="" |
20 |
|
21 |
inherit ruby-fakegem |
22 |
|
23 |
-IUSE="" |
24 |
+IUSE="test" |
25 |
+RESTRICT+=" !test? ( test )" |
26 |
|
27 |
DEPEND="virtual/pkgconfig" |
28 |
-ruby_add_bdepend "dev-ruby/pkg-config" |
29 |
+ruby_add_bdepend " |
30 |
+ dev-ruby/pkg-config |
31 |
+ test? ( >=dev-ruby/test-unit-2 )" |
32 |
RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME} |
33 |
SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" |
34 |
HOMEPAGE="https://ruby-gnome2.osdn.jp/" |