diff --git a/dev-ruby/digest/digest-3.2.0.ebuild b/dev-ruby/digest/digest-3.2.0.ebuild index 23fece05559af..f31da6b084ad3 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