diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-08-01 17:06:18 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-08-01 17:06:18 +0000 |
commit | 3210010904ed3d966aa81a86ba671c7368b3a25e (patch) | |
tree | 011882729dfb6ee97493f062be2ab48d62a3b589 /dev-ruby/treetop/treetop-1.4.10-r1.ebuild | |
parent | Mask dev-ruby/spruz for removal. (diff) | |
download | gentoo-2-3210010904ed3d966aa81a86ba671c7368b3a25e.tar.gz gentoo-2-3210010904ed3d966aa81a86ba671c7368b3a25e.tar.bz2 gentoo-2-3210010904ed3d966aa81a86ba671c7368b3a25e.zip |
Fix specs broken with newer rspec, fixing bug 429352.
(Portage version: 2.1.10.65/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby/treetop/treetop-1.4.10-r1.ebuild')
-rw-r--r-- | dev-ruby/treetop/treetop-1.4.10-r1.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ruby/treetop/treetop-1.4.10-r1.ebuild b/dev-ruby/treetop/treetop-1.4.10-r1.ebuild index ef91c2df969e..957f9c547d15 100644 --- a/dev-ruby/treetop/treetop-1.4.10-r1.ebuild +++ b/dev-ruby/treetop/treetop-1.4.10-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.10-r1.ebuild,v 1.4 2012/08/01 14:46:56 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/treetop/treetop-1.4.10-r1.ebuild,v 1.5 2012/08/01 17:06:18 graaff Exp $ EAPI=4 @@ -25,6 +25,10 @@ IUSE="" ruby_add_bdepend "test? ( >=dev-ruby/rr-0.10.2 dev-ruby/rspec:2 dev-ruby/activesupport )" ruby_add_rdepend ">=dev-ruby/polyglot-0.3.1" +all_ruby_prepare() { + sed -i -e '4i require "rspec/core/shared_context"' spec/spec_helper.rb || die +} + all_ruby_install() { all_fakegem_install |