summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-01 07:52:20 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-01 07:59:56 +0200
commit44869edc549c745a816292febc9a167c48078665 (patch)
tree6e2108a9c3b3e1c508c684b56302080005beddf2 /dev-ruby/backports
parentsys-kernel/raspberrypi-sources: Add new versions (diff)
downloadgentoo-44869edc549c745a816292febc9a167c48078665.tar.gz
gentoo-44869edc549c745a816292febc9a167c48078665.tar.bz2
gentoo-44869edc549c745a816292febc9a167c48078665.zip
dev-ruby/backports: add ruby24; avoid rails dependency
Package-Manager: Portage-2.3.8, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/backports')
-rw-r--r--dev-ruby/backports/backports-3.8.0.ebuild8
1 files changed, 6 insertions, 2 deletions
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
+}