summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2011-12-28 09:25:50 +0000
committerHans de Graaff <graaff@gentoo.org>2011-12-28 09:25:50 +0000
commit54d3c5f11ab22b3010e56cbe7cc655101db56530 (patch)
tree704ee71b7b9bd856d5665017e8d6916bb9e9db04 /dev-ruby/ruby_parser
parentadd missing rdeps - thanks to Agostino Sarubbo (diff)
downloadgentoo-2-54d3c5f11ab22b3010e56cbe7cc655101db56530.tar.gz
gentoo-2-54d3c5f11ab22b3010e56cbe7cc655101db56530.tar.bz2
gentoo-2-54d3c5f11ab22b3010e56cbe7cc655101db56530.zip
Add ruby19. Bump sexp-processor dependency to avoid many test failures with ruby 1.9.
(Portage version: 2.1.10.41/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/ruby_parser')
-rw-r--r--dev-ruby/ruby_parser/ChangeLog6
-rw-r--r--dev-ruby/ruby_parser/ruby_parser-2.3.1.ebuild9
2 files changed, 11 insertions, 4 deletions
diff --git a/dev-ruby/ruby_parser/ChangeLog b/dev-ruby/ruby_parser/ChangeLog
index 05d322c8ecf1..fff8f5a96a7d 100644
--- a/dev-ruby/ruby_parser/ChangeLog
+++ b/dev-ruby/ruby_parser/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/ruby_parser
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby_parser/ChangeLog,v 1.34 2011/12/24 07:43:05 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby_parser/ChangeLog,v 1.35 2011/12/28 09:25:50 graaff Exp $
+
+ 28 Dec 2011; Hans de Graaff <graaff@gentoo.org> ruby_parser-2.3.1.ebuild:
+ Add ruby19. Bump sexp-processor dependency to avoid many test failures with
+ ruby 1.9.
24 Dec 2011; Hans de Graaff <graaff@gentoo.org> -ruby_parser-2.0.6.ebuild,
-ruby_parser-2.1.0.ebuild, -ruby_parser-2.2.0.ebuild:
diff --git a/dev-ruby/ruby_parser/ruby_parser-2.3.1.ebuild b/dev-ruby/ruby_parser/ruby_parser-2.3.1.ebuild
index 0dc58d83cb3b..f2289a3fd48b 100644
--- a/dev-ruby/ruby_parser/ruby_parser-2.3.1.ebuild
+++ b/dev-ruby/ruby_parser/ruby_parser-2.3.1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby_parser/ruby_parser-2.3.1.ebuild,v 1.2 2011/12/05 00:56:48 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby_parser/ruby_parser-2.3.1.ebuild,v 1.3 2011/12/28 09:25:50 graaff Exp $
EAPI=2
-USE_RUBY="ruby18 ree18 jruby"
+USE_RUBY="ruby18 ruby19 ree18 jruby"
RUBY_FAKEGEM_TASK_DOC="docs"
RUBY_FAKEGEM_DOCDIR="doc"
@@ -20,7 +20,8 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
-ruby_add_rdepend ">=dev-ruby/sexp-processor-3.0.1"
+# The sexp-processor dependency is needed to make tests pass for ruby 1.9.
+ruby_add_rdepend ">=dev-ruby/sexp-processor-3.0.9"
ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )"
ruby_add_bdepend "test? ( virtual/ruby-test-unit >=dev-ruby/sexp-processor-3.0.6 )"
@@ -28,4 +29,6 @@ all_ruby_prepare() {
# Remove reference to perforce method that is not in a released
# version of hoe-seattlerb.
sed -i -e '/perforce/d' Rakefile || die
+
+ sed -i -e '/Hoe.plugin :isolate/ s:^:#:' Rakefile || die
}