Re: [gentoo-dev] Re: gems.eclass review

2009-03-14 Thread Ciaran McCreesh
On Sat, 14 Mar 2009 21:02:45 +0300 Peter Volkov wrote: > I'm not sure here. Is it safe to export src_prepare function for > EAPI=0,1? Nope. You're only allowed to EXPORT_FUNCTIONS something that's a phase function for your chosen EAPI. (Incidentally, you're also only allowed to call EXPORT_FUNCT

Re: [gentoo-dev] Re: gems.eclass review

2009-03-14 Thread Peter Volkov
В Чтв, 12/03/2009 в 21:02 +0100, Alex Legler пишет: > http://dev.gentoo.org/~a3li/ruby/gems.eclass.txt > http://dev.gentoo.org/~a3li/ruby/gems.eclass.diff You have: EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install I'm not sure here. Is it safe to export src_prepare f

Re: [gentoo-dev] Re: gems.eclass review

2009-03-12 Thread Alex Legler
On Fr, 2009-03-06 at 21:03 -0600, Ryan Hill wrote: > In the case that USE_RUBY is set to something funky, it never gets handled. > The eclass > basically just does nothing. This might be what you want, but if not, how > about something > like: > Actually, this is what we want. ;) I noticed a

[gentoo-dev] Re: gems.eclass review

2009-03-06 Thread Ryan Hill
On Tue, 03 Mar 2009 17:47:58 +0100 Alex Legler wrote: > Hey, > > we have some changes to be made in gems.eclass for Ruby 1.9.1. > Basically this introduces the possibility to install gems for multiple > versions of Ruby. > > If anyone feels like reviewing, please review the following > changes: