dev-ruby/rake-compiler: add ruby25

Package-Manager: Portage-2.3.24, Repoman-2.3.6
This commit is contained in:
Hans de Graaff
2018-04-09 06:58:42 +02:00
parent e1752828b6
commit 61e7e6e7e2

View File

@@ -1,8 +1,8 @@
# Copyright 1999-2017 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
USE_RUBY="ruby22 ruby23 ruby24 ruby25"
RUBY_FAKEGEM_RECIPE_TEST="none"
@@ -25,7 +25,7 @@ ruby_add_rdepend "dev-ruby/rake"
ruby_add_bdepend "test? ( dev-ruby/rspec:3 )"
USE_RUBY="ruby21 ruby22" ruby_add_bdepend "test? ( dev-util/cucumber dev-ruby/rspec:2 )"
USE_RUBY="ruby22 ruby23 ruby24" ruby_add_bdepend "test? ( dev-util/cucumber dev-ruby/rspec:2 )"
all_ruby_prepare() {
# Make sure the right rspec version is used in cucumber.
@@ -36,9 +36,9 @@ all_ruby_prepare() {
}
each_ruby_test() {
# Skip cucumber for ruby24 (not ready yet)
# Skip cucumber for new ruby versions (not ready yet)
case ${RUBY} in
*ruby21|*ruby22)
*ruby22|*ruby23|*ruby24)
RSPEC_VERSION=3 ruby-ng_rspec
ruby-ng_cucumber
;;