dev-ruby/rgen: add ruby25
authorHans de Graaff <graaff@gentoo.org>
Mon, 25 Jun 2018 17:45:34 +0000 (19:45 +0200)
committerHans de Graaff <graaff@gentoo.org>
Mon, 25 Jun 2018 18:20:21 +0000 (20:20 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9

dev-ruby/rgen/rgen-0.8.3.ebuild

index c43167c5aa8148c812e30a736dab92bcd0243ddf..a2986146efc1e9b82c8ed29f2400281f5b829d39 100644 (file)
@@ -1,9 +1,9 @@
-# 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="ruby22 ruby23 ruby24"
+USE_RUBY="ruby23 ruby24 ruby25"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc"
 RUBY_FAKEGEM_GEMSPEC="rgen.gemspec"
@@ -25,7 +25,7 @@ ruby_add_bdepend "doc? ( >=dev-ruby/rdoc-4.2.0 )
 
 each_ruby_prepare() {
        case ${RUBY} in
-               *ruby24)
+               *ruby24|*ruby25)
                        sed -i -e 's/Can not use a Fixnum/Can not use a Integer/' test/metamodel_builder_test.rb || die
                        ;;
        esac