1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 USE_RUBY="ruby19 ruby20 ruby21 ruby22"
8 RUBY_FAKEGEM_TASK_DOC=""
9 RUBY_FAKEGEM_RECIPE_TEST="cucumber"
10 RUBY_FAKEGEM_EXTRADOC="History.md README.md"
12 RUBY_FAKEGEM_GEMSPEC="aruba.gemspec"
16 DESCRIPTION="Cucumber steps for driving out command line applications"
17 HOMEPAGE="https://github.com/cucumber/aruba"
20 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
24 DEPEND="${DEPEND} test? ( sys-devel/bc )"
28 >=dev-ruby/childprocess-0.3.6
29 >=dev-ruby/rspec-expectations-2.7:2
30 >=dev-util/cucumber-1.1.1"
32 ruby_add_bdepend "test? ( dev-ruby/rspec:3 >=dev-ruby/bcat-0.6.1 )"
35 # Remove bundler-related code.
36 sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb || die
39 sed -i -e '/simplecov/I s:^:#:' \
40 -e '/Before/,/^end/ s:^:#:' \
41 spec/spec_helper.rb features/support/env.rb || die
42 rm -f features/support/simplecov_setup.rb || die
43 sed -i -e '1i require "time"' spec/spec_helper.rb || die
45 # Remove references to git ls-files.
46 sed -i -e '/git ls-files/d' aruba.gemspec || die
50 RSPEC_VERSION=3 ruby-ng_rspec