From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3E3231396D0 for ; Sun, 1 Oct 2017 06:00:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57CDBE0BE6; Sun, 1 Oct 2017 06:00:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3A7DCE0BE6 for ; Sun, 1 Oct 2017 06:00:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B1843417B4 for ; Sun, 1 Oct 2017 06:00:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C1CE9078 for ; Sun, 1 Oct 2017 06:00:02 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1506837596.44869edc549c745a816292febc9a167c48078665.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/backports/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/backports/backports-3.8.0.ebuild X-VCS-Directories: dev-ruby/backports/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 44869edc549c745a816292febc9a167c48078665 X-VCS-Branch: master Date: Sun, 1 Oct 2017 06:00:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 7385d8dc-68ab-4372-8324-b768c7fecbf3 X-Archives-Hash: e244b01f786b97a1018181320181ee0f commit: 44869edc549c745a816292febc9a167c48078665 Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 1 05:52:20 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 1 05:59:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44869edc 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(-) diff --git a/dev-ruby/backports/backports-3.8.0.ebuild b/dev-ruby/backports/backports-3.8.0.ebuild index 1b96cbcd113..28948e558d5 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 +}