diff options
author | Hans de Graaff <hans@degraaff.org> | 2024-11-10 09:01:31 +0100 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2024-11-10 09:01:31 +0100 |
commit | 6a38e2b4f4091112eed75d5ac8edcc9e6aee3c83 (patch) | |
tree | bbd527a267b022a9dccfb26557e78581913e8f0e | |
parent | dev-ruby/icalendar-recurrence: drop 1.1.3-r1 (diff) | |
download | graaff-6a38e2b4f4091112eed75d5ac8edcc9e6aee3c83.tar.gz graaff-6a38e2b4f4091112eed75d5ac8edcc9e6aee3c83.tar.bz2 graaff-6a38e2b4f4091112eed75d5ac8edcc9e6aee3c83.zip |
dev-ruby/icalendar-recurrence: enable ruby33
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-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 |