dev-util/cucumber-core: drop kramdown test dependency
authorHans de Graaff <graaff@gentoo.org>
Sun, 20 Aug 2017 07:08:17 +0000 (09:08 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sun, 20 Aug 2017 07:08:55 +0000 (09:08 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.2

dev-util/cucumber-core/cucumber-core-1.5.0.ebuild

index 9541fd97d268c9342e86490135eca69cea5b9af8..7936887fe7192c953a546d7901d8be322209b3ff 100644 (file)
@@ -23,18 +23,11 @@ ruby_add_bdepend "
                >=dev-ruby/unindent-1.0
        )"
 
-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
-               *ruby23)
-                       # Avoid dependency on kramdown so we can add the ruby22
-                       # target.
-                       rm -f spec/readme_spec.rb || die
-                       ;;
-       esac
+all_ruby_prepare() {
+       # Avoid dependency on kramdown to keep dependency list manageable for all arches.
+       rm -f spec/readme_spec.rb || die
 }