Skip to content

Commit

Permalink
dev-util/cucumber: fix tests, bug 642572
Browse files Browse the repository at this point in the history
One feature using bundler still needed dev-ruby/pry as a dependency due
to it being listed in the gemspec. Remove pry from the gemspec to avoid
this failure without adding an additional dependency.

Closed: https://bugs.gentoo.org/642572
Package-Manager: Portage-2.3.13, Repoman-2.3.3
  • Loading branch information
graaff committed Dec 29, 2017
1 parent bf9e18c commit ce86d57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions dev-util/cucumber/cucumber-2.4.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,7 @@ all_ruby_prepare() {
sed -i -e '/executables/ s/=.*/= ["cucumber"]/' \
-e '/git ls-files/d' cucumber.gemspec || die

sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die

sed -i -e '/pry/ s:^:#:' cucumber.gemspec spec/spec_helper.rb || die
}

each_ruby_prepare() {
Expand Down
2 changes: 1 addition & 1 deletion dev-util/cucumber/cucumber-3.0.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ all_ruby_prepare() {
sed -i -e '/executables/ s/=.*/= ["cucumber"]/' \
-e '/git ls-files/d' cucumber.gemspec || die

sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
sed -i -e '/pry/ s:^:#:' cucumber.gemspec spec/spec_helper.rb || die

rm -f Gemfile.lock || die
}
Expand Down

0 comments on commit ce86d57

Please sign in to comment.