dev-ruby/xmlrpc: add missing test-unit dependency
authorHans de Graaff <graaff@gentoo.org>
Fri, 16 Nov 2018 06:30:12 +0000 (07:30 +0100)
committerHans de Graaff <graaff@gentoo.org>
Fri, 16 Nov 2018 06:30:12 +0000 (07:30 +0100)
Fixes: https://bugs.gentoo.org/671196
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ruby/xmlrpc/xmlrpc-0.3.0.ebuild

index 4bafca04f61cefcb68711007ac09fda6ab819c3b..21e03f92c0a264cf1ea2203bd19724c2c0eef0d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -19,7 +19,9 @@ SRC_URI="https://github.com/ruby/xmlrpc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="Ruby"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE=""
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit )"
 
 all_ruby_prepare() {
        sed -i -e '/bundler/ s:^:#:' Rakefile || die