graaff      15/05/31 06:14:54

  Modified:             ChangeLog ruby-single.eclass
  Log:
  Add virtual/rubygems to dependencies to ensure that it is present in time, 
which may not happen since this is a PDEPEND of dev-lang/ruby.

Revision  Changes    Path
1.1631               eclass/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1631&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1631&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1630&r2=1.1631

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1630
retrieving revision 1.1631
diff -u -r1.1630 -r1.1631
--- ChangeLog   31 May 2015 05:57:23 -0000      1.1630
+++ ChangeLog   31 May 2015 06:14:54 -0000      1.1631
@@ -1,6 +1,10 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1630 2015/05/31 
05:57:23 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1631 2015/05/31 
06:14:54 graaff Exp $
+
+  31 May 2015; Hans de Graaff <[email protected]> ruby-single.eclass:
+  Add virtual/rubygems to dependencies to ensure that it is present in time,
+  which may not happen since this is a PDEPEND of dev-lang/ruby.
 
   31 May 2015; Hans de Graaff <[email protected]> ruby-ng.eclass,
   +ruby-single.eclass, +ruby-utils.eclass:



1.2                  eclass/ruby-single.eclass

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-single.eclass?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-single.eclass?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ruby-single.eclass?r1=1.1&r2=1.2

Index: ruby-single.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-single.eclass,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ruby-single.eclass  31 May 2015 05:57:23 -0000      1.1
+++ ruby-single.eclass  31 May 2015 06:14:54 -0000      1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-single.eclass,v 1.1 2015/05/31 
05:57:23 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-single.eclass,v 1.2 2015/05/31 
06:14:54 graaff Exp $
 
 # @ECLASS: ruby-single
 # @MAINTAINER:
@@ -43,7 +43,9 @@
 #
 # This is an eclass-generated Ruby dependency string for all
 # implementations listed in USE_RUBY. Any one of the supported ruby
-# targets will satisfy this dependency.
+# targets will satisfy this dependency. A dependency on
+# virtual/rubygems is also added to ensure that this is installed
+# in time for the package to use it.
 #
 # Example use:
 # @CODE
@@ -54,7 +56,7 @@
 #
 # Example value:
 # @CODE
-# || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 )
+# || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) virtual/rubygems
 # @CODE
 
 _ruby_single_implementations_depend() {
@@ -64,7 +66,7 @@
                        depend="${depend} $(_ruby_implementation_depend 
$_ruby_implementation)"
                fi
        done
-       echo "|| ( ${depend} )"
+       echo "|| ( ${depend} ) virtual/rubygems"
 }
 
 _ruby_single_set_globals() {




Reply via email to