summaryrefslogtreecommitdiff
path: root/dev-ruby/time/time-0.3.0.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby/time/time-0.3.0.ebuild')
-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}'"/' \