dev-ruby/rake-remote_task: add ruby26
authorHans de Graaff <graaff@gentoo.org>
Sun, 27 Jan 2019 18:49:02 +0000 (19:49 +0100)
committerHans de Graaff <graaff@gentoo.org>
Sun, 27 Jan 2019 19:11:59 +0000 (20:11 +0100)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ruby/rake-remote_task/rake-remote_task-2.4.3.ebuild

index 4a8ad54d9466abbd8c09ffdea5ee8efac9fd39e7..1f2271a6002de6a7ab52a38957bd0fe16747df23 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-USE_RUBY="ruby22 ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_EXTRADOC="History.txt README.txt"
@@ -17,10 +17,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-ruby_add_bdepend ">=dev-ruby/hoe-2.9.2
+ruby_add_bdepend "
        test? ( dev-ruby/minitest )"
 ruby_add_rdepend ">=dev-ruby/open4-1.0 >=dev-ruby/rake-0.8 <dev-ruby/rake-13"
 
-all_ruby_prepare() {
-       sed -i -e '/isolate/ s:^:#:' Rakefile || die
+each_ruby_test() {
+       ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
 }