commit:     fcb4782d1e606378704df35cb9c11c0394d90a4e
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 11:47:08 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 11:47:55 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcb4782d

dev-ruby/digest: add missing test dependencies

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

 dev-ruby/digest/digest-3.2.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/digest/digest-3.2.0.ebuild 
b/dev-ruby/digest/digest-3.2.0.ebuild
index 23fece05559a..f31da6b084ad 100644
--- a/dev-ruby/digest/digest-3.2.0.ebuild
+++ b/dev-ruby/digest/digest-3.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,6 +19,9 @@ SRC_URI="https://github.com/ruby/digest/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="BSD-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
+IUSE="test"
+
+ruby_add_depend "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