installation fails unless yard is installed but it is not listed as a depend
$ USE=-doc ebuild gherkin-2.11.5.ebuild manifest clean install Appending /newaches/gentoo/cvs/gentoo-x86 to PORTDIR_OVERLAY... >>> Creating Manifest for /newaches/gentoo/cvs/gentoo-x86/dev-ruby/gherkin * gherkin-2.11.5.tgz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... * Running unpack phase for all ... >>> Unpacking gherkin-2.11.5.tgz to /home/jer/portage/dev-ruby/gherkin-2.11.5/work/all >>> Source unpacked in /home/jer/portage/dev-ruby/gherkin-2.11.5/work >>> Preparing source in /home/jer/portage/dev-ruby/gherkin-2.11.5/work ... * Running prepare phase for all ... * Running source copy phase for ruby18 ... * Running source copy phase for ruby19 ... >>> Source prepared. >>> Configuring source in /home/jer/portage/dev-ruby/gherkin-2.11.5/work ... >>> Source configured. >>> Compiling source in /home/jer/portage/dev-ruby/gherkin-2.11.5/work ... * Running compile phase for ruby18 ... (in /home/jer/portage/dev-ruby/gherkin-2.11.5/work/ruby18/cucumber-gherkin-9ca66ee) WARNING: Rake::ExtensionTask not installed. Skipping C compilation. * Running compile phase for ruby19 ... /usr/lib64/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/alt_system.rb:32: Use RbConfig instead of obsolete and deprecated Config. (in /home/jer/portage/dev-ruby/gherkin-2.11.5/work/ruby19/cucumber-gherkin-9ca66ee) WARNING: Rake::ExtensionTask not installed. Skipping C compilation. * Running compile phase for all ... /home/jer/portage/dev-ruby/gherkin-2.11.5/temp/environment: line 598: yard: command not found * ERROR: dev-ruby/gherkin-2.11.5 failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 4429: Called ruby-ng_src_compile * environment, line 4095: Called _ruby_invoke_environment 'all' 'all_ruby_compile' * environment, line 516: Called all_ruby_compile * environment, line 598: Called die * The specific snippet of code: * yard || die [...]
I was going to write the same thing. Please, add yard to the dependencies or disable doc generation in the ebuild if USE="-doc".
And please, update the link to the homepage: http://wiki.github.com/aslakhellesoy/cucumber/gherkin => http://github.com/cucumber/gherkin
yard is no longer a dependency with USE=-doc and the HOMEPAGE is updated.