From 44869edc549c745a816292febc9a167c48078665 Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Sun, 1 Oct 2017 07:52:20 +0200 Subject: dev-ruby/backports: add ruby24; avoid rails dependency Package-Manager: Portage-2.3.8, Repoman-2.3.2 --- dev-ruby/backports/backports-3.8.0.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'dev-ruby/backports') diff --git a/dev-ruby/backports/backports-3.8.0.ebuild b/dev-ruby/backports/backports-3.8.0.ebuild index 1b96cbcd1138..28948e558d5c 100644 --- a/dev-ruby/backports/backports-3.8.0.ebuild +++ b/dev-ruby/backports/backports-3.8.0.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -USE_RUBY="ruby21 ruby22 ruby23" +USE_RUBY="ruby22 ruby23 ruby24" RUBY_FAKEGEM_RECIPE_DOC="rdoc" RUBY_FAKEGEM_TASK_TEST="test" @@ -16,4 +16,8 @@ SLOT="0" KEYWORDS="~amd64" IUSE="" -ruby_add_bdepend "test? ( dev-ruby/rails )" +all_ruby_prepare() { + # Avoid activesupport test that no longer works in Rails 5. This also avoids + # a dependency on activesupport + sed -i -e '/test_rails/,/^ end/ s:^:#:' test/_backport_guards_test.rb || die +} -- cgit v1.2.3-65-gdbad