commit:     5da908665d5f186f6a3ff452a3f4dfc1fc8308d3
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 05:59:41 2017 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 05:59:41 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da90866

dev-ruby/ffi: add missing dependency on rake, bug 633592

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-ruby/ffi/ffi-1.9.18.ebuild   | 4 +++-
 dev-ruby/ffi/ffi-1.9.6-r2.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/ffi/ffi-1.9.18.ebuild b/dev-ruby/ffi/ffi-1.9.18.ebuild
index 366dfaf4e04..8e74ef40552 100644
--- a/dev-ruby/ffi/ffi-1.9.18.ebuild
+++ b/dev-ruby/ffi/ffi-1.9.18.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-USE_RUBY="ruby21 ruby22 ruby23 ruby24"
+USE_RUBY="ruby22 ruby23 ruby24"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 
@@ -26,6 +26,8 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 
~x86 ~amd64-linux ~x
 RDEPEND+=" virtual/libffi"
 DEPEND+=" virtual/libffi"
 
+ruby_add_bdepend "dev-ruby/rake"
+
 all_ruby_prepare() {
        sed -i -e '/tasks/ s:^:#:' \
                -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die

diff --git a/dev-ruby/ffi/ffi-1.9.6-r2.ebuild b/dev-ruby/ffi/ffi-1.9.6-r2.ebuild
index 974de39e6fd..70bd141ed0a 100644
--- a/dev-ruby/ffi/ffi-1.9.6-r2.ebuild
+++ b/dev-ruby/ffi/ffi-1.9.6-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=5
 
 # jruby → unneeded, this is part of the standard JRuby distribution, and
 # would just install a dummy.
-USE_RUBY="ruby20 ruby21 ruby22"
+USE_RUBY="ruby22"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec"
 
@@ -28,6 +28,8 @@ KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 
~amd64-linux ~x86-linux
 RDEPEND+=" virtual/libffi"
 DEPEND+=" virtual/libffi"
 
+ruby_add_bdepend "dev-ruby/rake"
+
 all_ruby_prepare() {
        sed -i -e '/tasks/ s:^:#:' \
                -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die

Reply via email to