Re: [gentoo-dev] [PATCH] ruby-single.eclass: depend on virtual/rubygems[ruby_targets_rubyNN(-)] for each impl

2023-04-08 Thread Sam James

Hans de Graaff  writes:

> [[PGP Signed Part:Undecided]]
> On Tue, 2023-04-04 at 01:02 +0100, Sam James wrote:
>> 
>> - app-misc/foo (with only USE_RUBY="ruby30") using ruby-single.eclass
>> is queued
>>   and fails because the installed Ruby isn't fully usable yet,
>> because
>>   the eclass only guarantees dev-lang/ruby:3.0 and virtual/rubygems
>> is installed,
>>   not necessarily rubygems for that interpreter.
>
> lgtm, we do the same thing for ruby-fakegem.eclass. There could still
> be issues with other PDEPENDs from dev-lang/ruby, perhaps we need to
> make a virtual/ruby that includes all the PDEPENDs as well as dev-
> lang/ruby and virtual/rubygems, and depend on that in cases where we
> need "a working ruby implementation" ?

Good idea - that should simplify things a lot for other consumers too.

>
> Hans
>
> [[End of PGP Signed Part]]



signature.asc
Description: PGP signature


Re: [gentoo-dev] [PATCH] ruby-single.eclass: depend on virtual/rubygems[ruby_targets_rubyNN(-)] for each impl

2023-04-08 Thread Hans de Graaff
On Tue, 2023-04-04 at 01:02 +0100, Sam James wrote:
> 
> - app-misc/foo (with only USE_RUBY="ruby30") using ruby-single.eclass
> is queued
>   and fails because the installed Ruby isn't fully usable yet,
> because
>   the eclass only guarantees dev-lang/ruby:3.0 and virtual/rubygems
> is installed,
>   not necessarily rubygems for that interpreter.

lgtm, we do the same thing for ruby-fakegem.eclass. There could still
be issues with other PDEPENDs from dev-lang/ruby, perhaps we need to
make a virtual/ruby that includes all the PDEPENDs as well as dev-
lang/ruby and virtual/rubygems, and depend on that in cases where we
need "a working ruby implementation" ?

Hans


signature.asc
Description: This is a digitally signed message part