Skip to content

Commit

Permalink
dev-util/cucumber-core: add ruby23
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
graaff committed Aug 29, 2016
1 parent 460dc10 commit ace44e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dev-util/cucumber-core/cucumber-core-1.5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# $Id$

EAPI=5
USE_RUBY="ruby20 ruby21 ruby22"
USE_RUBY="ruby20 ruby21 ruby22 ruby23"

RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
Expand All @@ -24,15 +24,15 @@ ruby_add_bdepend "
>=dev-ruby/unindent-1.0
)"

USE_RUBY=${USE_RUBY/ruby22} ruby_add_bdepend "test? ( >=dev-ruby/kramdown-1.4.2 )"
USE_RUBY=${USE_RUBY/ruby23} ruby_add_bdepend "test? ( >=dev-ruby/kramdown-1.4.2 )"

ruby_add_rdepend "
>=dev-ruby/gherkin-4.0:4
"

each_ruby_prepare() {
case ${RUBY} in
*ruby22)
*ruby23)
# Avoid dependency on kramdown so we can add the ruby22
# target.
rm -f spec/readme_spec.rb || die
Expand Down

0 comments on commit ace44e4

Please sign in to comment.