summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-02-04 09:11:37 +0100
committerHans de Graaff <graaff@gentoo.org>2024-02-04 09:12:12 +0100
commit165d06ad789c90867611781441d16efc13903ee0 (patch)
treefc98fd2629823c9203515a4fa91b8f3301da12f7 /dev-ruby/strscan
parentdev-ruby/strscan: add 3.1.0 (diff)
downloadgentoo-165d06ad789c90867611781441d16efc13903ee0.tar.gz
gentoo-165d06ad789c90867611781441d16efc13903ee0.tar.bz2
gentoo-165d06ad789c90867611781441d16efc13903ee0.zip
dev-ruby/strscan: add missing test dependency
Closes: https://bugs.gentoo.org/923712 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/strscan')
-rw-r--r--dev-ruby/strscan/strscan-3.0.9.ebuild3
1 files changed, 3 insertions, 0 deletions
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