commit:     39f431a8b93a9a4dcb01ea3c4496f91bec76771d
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 23 18:25:32 2016 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 19:09:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f431a8

app-editors/diakonos: fix install for ruby21+

Also add ruby22, ruby23.

Package-Manager: portage-2.2.28

 app-editors/diakonos/diakonos-0.9.4.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/app-editors/diakonos/diakonos-0.9.4.ebuild 
b/app-editors/diakonos/diakonos-0.9.4.ebuild
index 7ace793..07a49c2 100644
--- a/app-editors/diakonos/diakonos-0.9.4.ebuild
+++ b/app-editors/diakonos/diakonos-0.9.4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
 
-USE_RUBY="ruby20 ruby21"
+USE_RUBY="ruby20 ruby21 ruby22 ruby23"
 inherit ruby-ng
 
 DESCRIPTION="A Linux editor for the masses"
@@ -16,6 +16,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="doc test"
 
+USE_RUBY=${USE_RUBY/ruby20/} ruby_add_rdepend "dev-ruby/curses"
+
 ruby_add_bdepend "doc? ( dev-ruby/yard )
        test? ( dev-ruby/bacon )"
 

Reply via email to