At some point dependencies on specific slots were added to reflect the versions that were really checked. Per discussion in bug 534902 seems that it works with all versions in the tree, then, I am not sure what would be better: - Revert to plain dev-lang/ruby dependency - Use dev-lang/ruby:* - Use dev-lang/ruby:XX for each and all current slots (and then this problem going to likely reappear in the future when new ruby is added) Thanks for your help
We now have ruby-single.eclass in the tree that could fix this. See https://devmanual.gentoo.org/eclass-reference/ruby-single.eclass/index.html for documentation, but I see that currently doesn't present a high-level picture. Set USE_RUBY to include all ruby versions that work with your build scripts. Then inherit ruby-single, and use ${RUBY_DEPS} where you would currently include the dev-lang/ruby dependencies. www-client/phantomjs already uses ruby-single.
commit 87dab152decd44422608056bf528ac2f8010fed2 Author: James Le Cuirot <chewi@gentoo.org> Date: Sun Mar 13 20:56:03 2016 +0000 app-text/docbook-xsl-stylesheets: Fix #575818 (Java), #536600 (Ruby) Delete the unnecessary Java-related stuff and other tools as they bloat the stage3 tarballs massively. Fixes bug #575818. A java USE flag could be added but it's probably not worth the hassle. Use the ruby-single eclass as suggested by graaff in bug #536600. I was going to do dev-lang/ruby:* as suggested by pacho but ruby-single seems like the correct thing to do and I don't want to go against the Ruby team. This also removes a useless find call.
As far as I can tell this is fixed for docbook-xsl-stylesheets-1.79-r1 (and not broken for 1.79.0). Closing.