commit:     165d06ad789c90867611781441d16efc13903ee0
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  4 08:11:37 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun Feb  4 08:12:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165d06ad

dev-ruby/strscan: add missing test dependency

Closes: https://bugs.gentoo.org/923712
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/strscan/strscan-3.0.9.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-ruby/strscan/strscan-3.0.9.ebuild 
b/dev-ruby/strscan/strscan-3.0.9.ebuild
index 3e7849915e61..cb8dff84588d 100644
--- a/dev-ruby/strscan/strscan-3.0.9.ebuild
+++ b/dev-ruby/strscan/strscan-3.0.9.ebuild
@@ -21,6 +21,9 @@ LICENSE="MIT"
 
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
 SLOT="$(ver_cut 1)"
+IUSE="test"
+
+ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
 
 all_ruby_prepare() {
        sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die

Reply via email to