dev-ruby/rbst: Fix ruby deps
authorMichał Górny <mgorny@gentoo.org>
Mon, 23 Jul 2018 09:00:34 +0000 (11:00 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 23 Jul 2018 09:25:47 +0000 (11:25 +0200)
dev-ruby/rbst/rbst-0.5.1.ebuild

index 47d5cfc57ee1bff90a823ebf947ec179ccfea47b..351600709f7869044ac21999a9d923b88037ba4f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,9 +20,10 @@ KEYWORDS="~amd64"
 IUSE="test"
 
 RDEPEND="dev-python/docutils"
-DEPEND="
+DEPEND="test? ( ${RDEPEND} )"
+
+ruby_add_bdepend "
        test? (
-               ${RDEPEND}
                >=dev-ruby/mocha-1.1.0:1.0
                >=dev-ruby/shoulda-3.5.0:3
                >=dev-ruby/test-unit-3.0.9:2