dev-ruby/ruby-gettext: add ruby26
authorHans de Graaff <graaff@gentoo.org>
Thu, 7 Feb 2019 07:35:12 +0000 (08:35 +0100)
committerHans de Graaff <graaff@gentoo.org>
Thu, 7 Feb 2019 07:36:05 +0000 (08:36 +0100)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-ruby/ruby-gettext/ruby-gettext-3.2.9.ebuild

index 772539ef5db63121f5cc664245a64d6b3d017e92..25fd5a8b2b8abb0c04f02f5d317ccf534cb5d004 100644 (file)
@@ -1,9 +1,9 @@
-# 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_NAME="${PN/ruby-/}"
 RUBY_FAKEGEM_VERSION="${PV%_*}"
@@ -49,6 +49,9 @@ all_ruby_prepare() {
 
        # Avoid tests failing due to a missing test file.
        #sed -i -e '/test_invalid_charset/,/end/ s:^:#:' test/test_mo.rb || die
+
+       # Avoid SAFE mode test that fails on ruby 2.6
+       sed -i -e '/test_safe_mode/aomit' test/test_gettext.rb || die
 }
 
 each_ruby_test() {