diff options
Diffstat (limited to 'dev-ruby/icalendar-recurrence/icalendar-recurrence-1.2.0.ebuild')
-rw-r--r-- | dev-ruby/icalendar-recurrence/icalendar-recurrence-1.2.0.ebuild | 13 |
1 files 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/activesupport-7 )" +ruby_add_bdepend "test? ( <dev-ruby/activesupport-7.2 >=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 |