dev-ruby/bindex: add ruby27
authorHans de Graaff <graaff@gentoo.org>
Wed, 22 Jan 2020 10:58:43 +0000 (11:58 +0100)
committerHans de Graaff <graaff@gentoo.org>
Wed, 22 Jan 2020 18:40:38 +0000 (19:40 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.16
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
dev-ruby/bindex/bindex-0.8.1.ebuild

index b4793d77304ce253d8fa9af3b10b7cf135624353..01c48985a7eab8cfc453ef8067fc4a6d936564b3 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
 RUBY_FAKEGEM_EXTRADOC="README.md"
@@ -19,7 +19,9 @@ KEYWORDS="~amd64"
 IUSE=""
 
 all_ruby_prepare() {
-       sed -i -e '/bundler/I s:^:#:' Rakefile || die
+       sed -e '/bundler/I s:^:#:' \
+               -e '/when/ s/ruby/rubyx/' \
+               -i Rakefile || die
 }
 
 each_ruby_configure() {