commit:     d07df5c7fe5f0efaed259fdbb5d5b0ceffd76713
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  2 10:17:32 2018 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Mar  2 10:18:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07df5c7

dev-ruby/netrc: add ruby24, ruby25

Closes: https://bugs.gentoo.org/643922
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-ruby/netrc/netrc-0.11.0.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/netrc/netrc-0.11.0.ebuild 
b/dev-ruby/netrc/netrc-0.11.0.ebuild
index f8dfa3ecc54..1a117d55ab8 100644
--- a/dev-ruby/netrc/netrc-0.11.0.ebuild
+++ b/dev-ruby/netrc/netrc-0.11.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
-USE_RUBY="ruby20 ruby21 ruby22 ruby23"
+USE_RUBY="ruby22 ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_EXTRADOC="changelog.txt Readme.md"
 
@@ -19,7 +19,10 @@ SLOT="0"
 IUSE=""
 
 all_ruby_prepare() {
-       sed -e '/test_encrypted_roundtrip/,/^  end/ s:^:#:' -i 
test/test_netrc.rb || die
+       # Avoid broken test that wrongly tests ruby internal code, bug 643922
+       sed -e '/test_encrypted_roundtrip/,/^  end/ s:^:#:' \
+               -e '/test_missing_environment/,/^  end/ s:^:#:' \
+               -i test/test_netrc.rb || die
 }
 
 each_ruby_test() {

Reply via email to