app-editors/diakonos: fix install for ruby21+
authorHans de Graaff <graaff@gentoo.org>
Sat, 23 Jul 2016 18:25:32 +0000 (20:25 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 23 Jul 2016 19:09:18 +0000 (21:09 +0200)
Also add ruby22, ruby23.

Package-Manager: portage-2.2.28

app-editors/diakonos/diakonos-0.9.4.ebuild

index 7ace793dbf9615f3284814bd94a002a60db3d48a..07a49c2bb3efbddf5faea6437612c843a72d4e2c 100644 (file)
@@ -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 )"