summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-03 15:50:02 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-03 15:50:02 +0000
commitf9799d93a65b86f6135b10036c65c194dbbb0fa8 (patch)
tree40ae219f7d9e9b9595938c1f3f5475c2247b6e31 /eclass
parentppc64 stable wrt #327777 (diff)
downloadgentoo-2-f9799d93a65b86f6135b10036c65c194dbbb0fa8.tar.gz
gentoo-2-f9799d93a65b86f6135b10036c65c194dbbb0fa8.tar.bz2
gentoo-2-f9799d93a65b86f6135b10036c65c194dbbb0fa8.zip
Require Ruby 1.8 and just 1.8 instead of virtual/ruby, eclasses style.
Note the use of the EAPI-0 format rather than slot since we don't know where they are used...
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby.eclass6
-rw-r--r--eclass/vim.eclass6
2 files changed, 6 insertions, 6 deletions
diff --git a/eclass/ruby.eclass b/eclass/ruby.eclass
index 50480b211c90..60719de69daa 100644
--- a/eclass/ruby.eclass
+++ b/eclass/ruby.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.78 2010/04/03 11:53:34 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby.eclass,v 1.79 2010/08/03 15:50:02 flameeyes Exp $
#
# DEPRECATION NOTICE
# This eclass is deprecated because it does not properly handle
@@ -61,8 +61,8 @@ LICENSE="Ruby"
# If you specify RUBY_OPTIONAL you also need to take care of ruby useflag and dependency.
if [[ ${RUBY_OPTIONAL} != "yes" ]]; then
- DEPEND="${DEPEND} virtual/ruby"
- RDEPEND="${RDEPEND} virtual/ruby"
+ DEPEND="${DEPEND} =dev-lang/ruby-1.8*"
+ RDEPEND="${RDEPEND} =dev-lang/ruby-1.8*"
fi
[[ -z "${RUBY}" ]] && export RUBY=/usr/bin/ruby
diff --git a/eclass/vim.eclass b/eclass/vim.eclass
index 57f276da08d2..b9aaa65bbf77 100644
--- a/eclass/vim.eclass
+++ b/eclass/vim.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.189 2010/07/20 13:53:43 lack Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vim.eclass,v 1.190 2010/08/03 15:50:02 flameeyes Exp $
# Authors:
# Jim Ramsay <i.am@gentoo.org>
@@ -86,13 +86,13 @@ else
gpm? ( >=sys-libs/gpm-1.19.3 )
perl? ( dev-lang/perl )
acl? ( kernel_linux? ( sys-apps/acl ) )
- ruby? ( virtual/ruby )"
+ ruby? ( =dev-lang/ruby-1.8* )"
RDEPEND="${RDEPEND}
cscope? ( dev-util/cscope )
gpm? ( >=sys-libs/gpm-1.19.3 )
perl? ( dev-lang/perl )
acl? ( kernel_linux? ( sys-apps/acl ) )
- ruby? ( virtual/ruby )
+ ruby? ( =dev-lang/ruby-1.8* )
!<app-vim/align-30-r1
!app-vim/vimspell
!<app-vim/vimbuddy-0.9.1-r1