On Friday 01 July 2005 23:19, Paul de Vrieze wrote:
> On Friday 01 July 2005 17:14, Jonathan Smith wrote:
> > Thomas de Grenier de Latour wrote:
> >  > Btw, what's wrong with the `DEPEND="$(your_function)" || die`
> > >
> > > i've proposed?  Using a return code seems to be the simplest way
> > > to signal a failure, no?
> >
> > calling a function in a global scope is a bad idea. it leads to lots of
> > unneccessary (and timely) computations
>
> It also makes any attempts to parse ebuilds without using bash (our current
> strategy) a lot harder (actually causing bash reimplementation)
You mean you're actually doing that for portage-cvs? I didn't know that. Does 
'our current strategy' refer to using bash or to not using it?

Anyway, as far as portage goes, if we had version range deps support we 
wouldn't need functions in $DEPEND.

-- 
Dan Armak
Gentoo Linux developer (KDE)
Public GPG key: http://dev.gentoo.org/~danarmak/danarmak-gpg-public.key
Fingerprint: DD70 DBF9 E3D4 6CB9 2FDD  0069 508D 9143 8D5F 8951

Attachment: pgpYA48zJK20i.pgp
Description: PGP signature

Reply via email to