summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2017-10-07 07:59:41 +0200
committerHans de Graaff <graaff@gentoo.org>2017-10-07 07:59:41 +0200
commit5da908665d5f186f6a3ff452a3f4dfc1fc8308d3 (patch)
treeeb8dca9ca47dfdb6b637968139d4549eebedff19 /dev-ruby/ffi
parentwww-apps/nanoc: add 4.8.9 (diff)
downloadgentoo-5da908665d5f186f6a3ff452a3f4dfc1fc8308d3.tar.gz
gentoo-5da908665d5f186f6a3ff452a3f4dfc1fc8308d3.tar.bz2
gentoo-5da908665d5f186f6a3ff452a3f4dfc1fc8308d3.zip
dev-ruby/ffi: add missing dependency on rake, bug 633592
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-ruby/ffi')
-rw-r--r--dev-ruby/ffi/ffi-1.9.18.ebuild4
-rw-r--r--dev-ruby/ffi/ffi-1.9.6-r2.ebuild4
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 366dfaf4e04b..8e74ef40552e 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 974de39e6fd0..70bd141ed0a0 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