diff options
author | Sam James <sam@gentoo.org> | 2023-06-14 01:11:43 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-06-15 22:12:20 +0100 |
commit | 52885a31b20f6af327ccefaa62ce74877b9b687d (patch) | |
tree | ad2e690dccd30db7260ae5fc398ff6b5be11bec5 /dev-python/wxpython | |
parent | ruby-ng.eclass: drop no-op RDEPEND assignment (diff) | |
download | gentoo-52885a31b20f6af327ccefaa62ce74877b9b687d.tar.gz gentoo-52885a31b20f6af327ccefaa62ce74877b9b687d.tar.bz2 gentoo-52885a31b20f6af327ccefaa62ce74877b9b687d.zip |
ruby-ng.eclass: cater to USE_RUBY conditional calls
Packages may try to restrict their test dependencies to ease bootstrapping/porting
if they're not yet available for a newer Ruby implementation by setting
USE_RUBY="<some subset of original USE_RUBY>" ruby_add_bdepend ...
For example, dev-ruby/parallel does:
```
# Rails isn't yet ruby32-ready in Gentoo
USE_RUBY="ruby27 ruby30 ruby31" ruby_add_bdepend "
test? ( dev-ruby/activerecord[sqlite] )
```
This isn't ideal, but we don't have a ruby_gen_cond_dep right now, so
cater to this usecase by invalidating the caches we've previously added
if we've detected USE_RUBY changed.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/wxpython')
0 files changed, 0 insertions, 0 deletions