summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-02-02 14:12:45 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-02-02 14:12:45 +0000
commit674085e2cb8b880297cd3df60df6fa6f279c3c30 (patch)
tree9dbca76a4e55e1a8af7743a05f5f1402d9a46b11 /dev-ruby/rspec-core/rspec-core-2.4.0.ebuild
parentAdd missing racc dependency; skip tests for JRuby since they require librarie... (diff)
downloadgentoo-2-674085e2cb8b880297cd3df60df6fa6f279c3c30.tar.gz
gentoo-2-674085e2cb8b880297cd3df60df6fa6f279c3c30.tar.bz2
gentoo-2-674085e2cb8b880297cd3df60df6fa6f279c3c30.zip
Use upstream specs fixes (as the custom one didn't work with Ruby 1.9) and add ruby19 support.
(Portage version: 2.2.0_alpha19/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/rspec-core/rspec-core-2.4.0.ebuild')
-rw-r--r--dev-ruby/rspec-core/rspec-core-2.4.0.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild b/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild
index 5fac6c91cbe3..b0d0544aa93e 100644
--- a/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild
+++ b/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild,v 1.1 2011/01/15 17:02:39 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rspec-core/rspec-core-2.4.0.ebuild,v 1.2 2011/02/02 14:12:44 flameeyes Exp $
EAPI=2
USE_RUBY="ruby18 ree18 ruby19"
@@ -42,8 +42,7 @@ all_ruby_prepare() {
# Also clean the /usr/lib/rubyee path (which is our own invention).
sed -i -e 's#lib\\d\*\\/ruby\\/#lib\\d*\\/ruby(ee|)\\/#' lib/rspec/core/configuration.rb || die
- # Fix spec: https://github.com/rspec/rspec-core/issues/issue/278
- sed -i -e '157c].reverse)' spec/rspec/core/rake_task_spec.rb || die
+ epatch "${FILESDIR}"/${P}-tests.patch
}
all_ruby_compile() {