summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-01-25 07:05:32 +0100
committerHans de Graaff <graaff@gentoo.org>2019-01-25 07:05:32 +0100
commitd8c0661d76c1c8ad7571e915740133e62d5c6359 (patch)
tree0cda44e8c775471c2ee526e0ad191107b8c42f69 /dev-ruby/ruby_parser
parentdev-ruby/sexp_processor: add ruby26 (diff)
downloadgentoo-d8c0661d76c1c8ad7571e915740133e62d5c6359.tar.gz
gentoo-d8c0661d76c1c8ad7571e915740133e62d5c6359.tar.bz2
gentoo-d8c0661d76c1c8ad7571e915740133e62d5c6359.zip
dev-ruby/ruby_parser: add ruby26
Signed-off-by: Hans de Graaff <graaff@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-ruby/ruby_parser')
-rw-r--r--dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild b/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild
index d350dd8378d9..2d80c363b30b 100644
--- a/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild
+++ b/dev-ruby/ruby_parser/ruby_parser-3.12.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.rdoc History.rdoc"
@@ -21,7 +21,6 @@ IUSE=""
ruby_add_rdepend ">=dev-ruby/sexp_processor-4.9.0:4
!<dev-ruby/ruby_parser-2.3.1-r1"
-ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
ruby_add_bdepend "test? ( dev-ruby/racc >=dev-ruby/minitest-4.3 >=dev-ruby/sexp_processor-4.10.1:4 )"
DEPEND+=" test? ( dev-util/unifdef )"
@@ -33,3 +32,7 @@ all_ruby_prepare() {
sed -i -e '/license/d' Rakefile || die
sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
}
+
+each_ruby_test() {
+ ${RUBY} -Ilib:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
+}