summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-24 07:34:14 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-05-24 07:34:14 +0000
commitb3e54ac73875b3fd3d1bb298cd58210caca2c417 (patch)
tree27f60d77b7dabbef79368d7b20bb7baba8dced52 /eclass
parentAvoid touching IUSE in _ruby_wrap_conditions; set the test USE flag (diff)
downloadgentoo-2-b3e54ac73875b3fd3d1bb298cd58210caca2c417.tar.gz
gentoo-2-b3e54ac73875b3fd3d1bb298cd58210caca2c417.tar.bz2
gentoo-2-b3e54ac73875b3fd3d1bb298cd58210caca2c417.zip
Use the new syntax for rake dependencies.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-fakegem.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 26f029a0e684..6394b13c536b 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.17 2010/02/19 11:59:38 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.18 2010/05/24 07:34:14 flameeyes Exp $
#
# @ECLASS: ruby-fakegem.eclass
# @MAINTAINER:
@@ -70,12 +70,12 @@ RUBY_FAKEGEM_BINWRAP="${RUBY_FAKEGEM_BINWRAP-*}"
if [[ ${RUBY_FAKEGEM_TASK_DOC} != "" ]]; then
IUSE="$IUSE doc"
- ruby_add_bdepend doc "dev-ruby/rake"
+ ruby_add_bdepend "doc? ( dev-ruby/rake )"
fi
if [[ ${RUBY_FAKEGEM_TASK_TEST} != "" ]]; then
IUSE="$IUSE test"
- ruby_add_bdepend test "dev-ruby/rake"
+ ruby_add_bdepend "test? ( dev-ruby/rake )"
fi
SRC_URI="mirror://rubygems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}${RUBY_FAKEGEM_SUFFIX:+-${RUBY_FAKEGEM_SUFFIX}}.gem"
@@ -148,7 +148,7 @@ ruby_fakegem_genspec() {
# so better taking this into consideration.
local quoted_description=${DESCRIPTION//\"/\\\"}
cat - > "${T}"/${RUBY_FAKEGEM_NAME}-${_ruby_implementation} <<EOF
-# generated by ruby-fakegem.eclass $Revision: 1.17 $
+# generated by ruby-fakegem.eclass $Revision: 1.18 $
Gem::Specification.new do |s|
s.name = "${RUBY_FAKEGEM_NAME}"
s.version = "${RUBY_FAKEGEM_VERSION}"
@@ -202,7 +202,7 @@ ruby_fakegem_binwrapper() {
#!${rubycmd}
# This is a simplified version of the RubyGems wrapper
#
-# Generated by ruby-fakegem.eclass $Revision: 1.17 $
+# Generated by ruby-fakegem.eclass $Revision: 1.18 $
require 'rubygems'