dev-ruby/term-ansicolor: add ruby27
authorHans de Graaff <graaff@gentoo.org>
Tue, 7 Apr 2020 18:50:19 +0000 (20:50 +0200)
committerHans de Graaff <graaff@gentoo.org>
Tue, 7 Apr 2020 18:53:36 +0000 (20:53 +0200)
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/term-ansicolor/term-ansicolor-1.7.1.ebuild

index 03e0f7a031bb73efcae6ad0b0e98472db556787b..a8544f92c569a94976cceb5bceb0e38f3a6460d4 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_RECIPE_TEST="none"
@@ -23,7 +23,7 @@ IUSE=""
 ruby_add_rdepend ">=dev-ruby/tins-1.0"
 
 each_ruby_test() {
-       ${RUBY} -Ilib -S testrb-2 tests/*_test.rb || die
+       ${RUBY} -Ilib:.:tests -e 'Dir["tests/*_test.rb"].each{|f| require f}' || die
 }
 
 all_ruby_install() {