diff options
author | Naohiro Aota <naota@gentoo.org> | 2020-02-15 13:31:27 +0900 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2020-07-30 16:21:26 +0900 |
commit | 64758ae5fbe4825442c9da818eb8c7410e1cb2d4 (patch) | |
tree | 8deaddd17849330c93e56e70c4accc3d77d0d601 /eclass | |
parent | ruby-ng-gnome2.eclass: Use [[ instead of [ (diff) | |
download | gentoo-64758ae5fbe4825442c9da818eb8c7410e1cb2d4.tar.gz gentoo-64758ae5fbe4825442c9da818eb8c7410e1cb2d4.tar.bz2 gentoo-64758ae5fbe4825442c9da818eb8c7410e1cb2d4.zip |
ruby-ng-gnome2.eclass: add test dependency
Signed-off-by: Naohiro Aota <naota@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby-ng-gnome2.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass index 7391ef14069c..df14f40d83aa 100644 --- a/eclass/ruby-ng-gnome2.eclass +++ b/eclass/ruby-ng-gnome2.eclass @@ -26,10 +26,13 @@ RUBY_FAKEGEM_TASK_DOC="" inherit ruby-fakegem -IUSE="" +IUSE="test" +RESTRICT+=" !test? ( test )" DEPEND="virtual/pkgconfig" -ruby_add_bdepend "dev-ruby/pkg-config" +ruby_add_bdepend " + dev-ruby/pkg-config + test? ( >=dev-ruby/test-unit-2 )" RUBY_S=ruby-gnome2-all-${PV}/${RUBY_FAKEGEM_NAME} SRC_URI="mirror://sourceforge/ruby-gnome2/ruby-gnome2-all-${PV}.tar.gz" HOMEPAGE="https://ruby-gnome2.osdn.jp/" |