From 6a38e2b4f4091112eed75d5ac8edcc9e6aee3c83 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 10 Nov 2024 09:01:31 +0100 Subject: dev-ruby/icalendar-recurrence: enable ruby33 Signed-off-by: Hans de Graaff --- .../icalendar-recurrence/icalendar-recurrence-1.2.0.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/dev-ruby/icalendar-recurrence/icalendar-recurrence-1.2.0.ebuild b/dev-ruby/icalendar-recurrence/icalendar-recurrence-1.2.0.ebuild index 2e3ce9b4..d18b5d42 100644 --- a/dev-ruby/icalendar-recurrence/icalendar-recurrence-1.2.0.ebuild +++ b/dev-ruby/icalendar-recurrence/icalendar-recurrence-1.2.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -16,16 +16,19 @@ DESCRIPTION="Provides recurrence to icalendar gem" HOMEPAGE="https://github.com/icalendar/icalendar-recurrence" LICENSE="|| ( GPL-2 BSD Ruby )" -KEYWORDS="~amd64" SLOT="1" -IUSE="" +KEYWORDS="~amd64" +IUSE="test" ruby_add_rdepend "dev-ruby/icalendar:2 >=dev-ruby/ice_cube-0.16 dev-ruby/tzinfo:2" -ruby_add_bdepend "test? ( =dev-ruby/timecop-0.9 )" all_ruby_prepare() { - sed -i -e '/\(awesome\|pry\)/ s:^:#:' -e '1igem "activesupport", "<7"' spec/spec_helper.rb || die + sed -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + sed -i -e '/\(awesome\|pry\)/ s:^:#:' -e '1igem "activesupport", "<7.2"' spec/spec_helper.rb || die # Avoid output on STDOUT for warnings # https://github.com/icalendar/icalendar-recurrence/issues/13 -- cgit v1.2.3-65-gdbad