net-misc/mikutter: add ruby23
authorHans de Graaff <graaff@gentoo.org>
Sat, 14 Apr 2018 06:54:44 +0000 (08:54 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 14 Apr 2018 07:25:21 +0000 (09:25 +0200)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-misc/mikutter/mikutter-3.4.2-r1.ebuild
net-misc/mikutter/mikutter-9999.ebuild

index d594c11b4eda2e39cbc52b3a24c715fc523cb192..62e5fdcfc3b99166c8cebdb6ca8089c101a81c00 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="ruby21 ruby22"
+USE_RUBY="ruby22 ruby23"
 
 inherit eutils ruby-ng
 
@@ -62,10 +62,10 @@ all_ruby_unpack() {
 each_ruby_install() {
        local rubyversion
 
-       if use ruby_targets_ruby22; then
+       if use ruby_targets_ruby23; then
+               rubyversion=ruby23
+       elif use ruby_targets_ruby22; then
                rubyversion=ruby22
-       elif use ruby_targets_ruby21; then
-               rubyversion=ruby21
        fi
 
        exeinto /usr/share/mikutter
index 3cb00cde69e7fdb428400f8cb6240bcaa052029e..04d1acc69b11d3f58bb77b75e416893274042504 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 
-USE_RUBY="ruby21 ruby22"
+USE_RUBY="ruby22 ruby23"
 
 inherit eutils ruby-ng
 
@@ -62,10 +62,10 @@ all_ruby_unpack() {
 each_ruby_install() {
        local rubyversion
 
-       if use ruby_targets_ruby22; then
+       if use ruby_targets_ruby23; then
+               rubyversion=ruby23
+       elif use ruby_targets_ruby22; then
                rubyversion=ruby22
-       elif use ruby_targets_ruby21; then
-               rubyversion=ruby21
        fi
 
        exeinto /usr/share/mikutter