Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 536600 - app-text/docbook-xsl-stylesheets works with all ruby slots in the tree
Summary: app-text/docbook-xsl-stylesheets works with all ruby slots in the tree
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2015-01-14 14:21 UTC by Pacho Ramos
Modified: 2018-01-27 12:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2015-01-14 14:21:01 UTC
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
Comment 1 Hans de Graaff gentoo-dev Security 2015-07-09 06:43:24 UTC
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.
Comment 2 James Le Cuirot gentoo-dev 2016-03-13 21:31:30 UTC
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.
Comment 3 Hans de Graaff gentoo-dev Security 2016-12-03 09:02:08 UTC
As far as I can tell this is fixed for docbook-xsl-stylesheets-1.79-r1 (and not broken for 1.79.0). Closing.