From: Diego Elio Pettenò Date: Mon, 24 May 2010 07:34:14 +0000 (+0000) Subject: Use the new syntax for rake dependencies. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b7def953dca8bdc68f83fc48d63752240db503b6;p=gentoo.git Use the new syntax for rake dependencies. --- 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} <