dev-ruby/netrc: add ruby24, ruby25
authorHans de Graaff <graaff@gentoo.org>
Fri, 2 Mar 2018 10:17:32 +0000 (11:17 +0100)
committerHans de Graaff <graaff@gentoo.org>
Fri, 2 Mar 2018 10:18:40 +0000 (11:18 +0100)
Closes: https://bugs.gentoo.org/643922
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-ruby/netrc/netrc-0.11.0.ebuild

index f8dfa3ecc54f375fff20d57304e8c7878b8a1c05..1a117d55ab879bfb068a62141238551f6d479a0e 100644 (file)
@@ -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() {