[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] The gx86 multilib project -- masterplan
From:       Michał Górny <mgorny () gentoo ! org>
Date:       2013-01-30 9:54:49
Message-ID: 20130130105449.022eca92 () pomiocik ! lan
[Download RAW message or body]


On Wed, 30 Jan 2013 01:39:16 +0100
Maciej Mrozowski <reavertm@gmail.com> wrote:

> On Sunday 27 of January 2013 19:11:16 Micha ³ Górny wrote:
> > On Sun, 27 Jan 2013 21:04:14 +0300
> > 
> > Sergei Trofimovich <slyfox@gentoo.org> wrote:
> > > On Sun, 27 Jan 2013 17:30:22 +0100
> > > 
> > > Micha ³ Górny <mgorny@gentoo.org> wrote:
> > > > On Sun, 27 Jan 2013 16:07:48 +0000
> > > > 
> > > > Ciaran McCreesh <ciaran.mccreesh@googlemail.com> wrote:
> > > > > On Sun, 27 Jan 2013 16:12:37 +0100
> > > > > 
> > > > > Micha ³ Górny <mgorny@gentoo.org> wrote:
> > > > > >    RDEPEND="dev-libs/libfoo[${MULTILIB_USEDEP}]
> > > > > >    
> > > > > >        dev-libs/libbar[ssl,${MULTILIB_USEDEP}]"
> > > > > 
> > > > > This looks like it might be a bit fragile. Is it something better
> > > > > addressed by an EAPI extension?
> > > > 
> > > > I have no idea. This one's clear and simple. Not sure how you could be
> > > > able to do that better in EAPI.
> > > 
> > > EAPI might allow lib[multiple?][use?][flags?] as an alias of
> > > [multiple?,use?,flags?].
> > I still don't think that would be really helpful.
> > 
> >   dev-libs/libfoo[ssl][${MULTILIB_USEDEP}]
> > 
> > is IMO just more confusing than the usual [ssl,...] -- people start
> > thinking 'does it mean something special?'
> > 
> > Unless you mean adding the brackets to the variable itself -- but that
> > will be just scary...
> > 
> >   dev-libs/libfoo${MULTILIB_USEDEP}
> 
> Alternatively, less fragile but more verbose would be eclass function to 
> produce dependency string. While it may sound as overkill - we already do it 
> in KDE:

And in ruby, and in arfrever's python....

add_foo_dep $(add_bar_dep ...) ... oh wait, it doesn't work like that.

-- 
Best regards,
Michał Górny

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic