summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-07-17 07:52:18 +0200
committerHans de Graaff <graaff@gentoo.org>2024-07-17 07:57:41 +0200
commit6e4edbe1cc8bb22a3a4bd14e9480bc967b901ad7 (patch)
tree282065df0676d4cd6e940a816c80b761186477c0 /dev-ruby/time
parentdev-ruby/date: add missing test dependencies (diff)
downloadgentoo-6e4edbe1cc8bb22a3a4bd14e9480bc967b901ad7.tar.gz
gentoo-6e4edbe1cc8bb22a3a4bd14e9480bc967b901ad7.tar.bz2
gentoo-6e4edbe1cc8bb22a3a4bd14e9480bc967b901ad7.zip
dev-ruby/time: add missing test dependencies
Closes: https://bugs.gentoo.org/923715 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/time')
-rw-r--r--dev-ruby/time/time-0.3.0.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-ruby/time/time-0.3.0.ebuild b/dev-ruby/time/time-0.3.0.ebuild
index b548f3127fb9..c531ce86a0c3 100644
--- a/dev-ruby/time/time-0.3.0.ebuild
+++ b/dev-ruby/time/time-0.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -17,10 +17,12 @@ SRC_URI="https://github.com/ruby/time/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=""
+IUSE="test"
ruby_add_rdepend "dev-ruby/date"
+ruby_add_bdepend "test? ( dev-ruby/test-unit dev-ruby/test-unit-ruby-core )"
+
all_ruby_prepare() {
sed -e 's/__dir__/"."/' \
-e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \