List Info

Thread: IUSE and userland_, elibc_, kernel_, etc.




IUSE and userland_, elibc_, kernel_, etc.
country flaguser name
Netherlands
2007-11-04 04:06:52
Just to have it clear and to be sure:

On 04-11-2007 03:33:41 +0000, vapiergentoo.org wrote:
> Modified: diffutils-2.8.7-r2.ebuild
> Log:
>   do *not* include userland_GNU in IUSE
>   (Portage version: 2.1.3.16)
> 
> 
> Index: diffutils-2.8.7-r2.ebuild

> -IUSE="nls static userland_GNU"
> +IUSE="nls static"


On 04-11-2007 08:10:29 +0000, Zac Medico wrote:
> Author: zmedico
> Date: 2007-11-04 08:10:29 +0000 (Sun, 04 Nov 2007)
> New Revision: 8420
> 
> Modified:
>    main/trunk/pym/portage/dbapi/bintree.py
> Log:
> When evaluating *DEPEND conditionals for the Packages
metadata
> index, do not use IUSE to filter USE since there is
currently
> no guarantee that IUSE properly defines all of the
necessary
> flags.

These two changes now mean that without having
"userland_GNU" in IUSE

  DEPEND="!userland_GNU? ( some/package )"

will correctly end up in the Packages file, such that
Portage will
properly calculate dependencies when reading from a binhost,
right?


-- 
Fabian Groffen
Gentoo on a different level
-- 
gentoo-portage-devgentoo.org mailing list


Re: IUSE and userland_, elibc_, kernel_, etc.
country flaguser name
United States
2007-11-04 10:54:14
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Fabian Groffen wrote:
> Just to have it clear and to be sure:
> 
> On 04-11-2007 03:33:41 +0000, vapiergentoo.org wrote:
>> Modified: diffutils-2.8.7-r2.ebuild
>> Log:
>>   do *not* include userland_GNU in IUSE
>>   (Portage version: 2.1.3.16)
>>
>>
>> Index: diffutils-2.8.7-r2.ebuild
> 
>> -IUSE="nls static userland_GNU"
>> +IUSE="nls static"
> 
> 
> On 04-11-2007 08:10:29 +0000, Zac Medico wrote:
>> Author: zmedico
>> Date: 2007-11-04 08:10:29 +0000 (Sun, 04 Nov 2007)
>> New Revision: 8420
>>
>> Modified:
>>    main/trunk/pym/portage/dbapi/bintree.py
>> Log:
>> When evaluating *DEPEND conditionals for the
Packages metadata
>> index, do not use IUSE to filter USE since there is
currently
>> no guarantee that IUSE properly defines all of the
necessary
>> flags.
> 
> These two changes now mean that without having
"userland_GNU" in IUSE
> 
>   DEPEND="!userland_GNU? ( some/package )"
> 
> will correctly end up in the Packages file, such that
Portage will
> properly calculate dependencies when reading from a
binhost, right?

Well, I consider my change to be a workaround for people
behaving
like Mike and refusing to declare certain conditionals in
IUSE. The
way that I see it, userland_GNU is a USE conditional, so it
belongs
in IUSE just like any other USE conditional. Maybe we would
be
better off if things like userland_GNU weren't in the USE
conditional space, but they are.

I don't understand why people refuse to declare certain
conditionals
in IUSE. IUSE conveys important information about which
flags the
package responds to. If we're not going to record them in
IUSE
explicitly, then every package, regardless of whether or not
it uses
those conditionals, will have to inherit them implicitly. If
that's
what we are going to do, then we should invent a way to
declare in
the profile which flags will behave that way (maybe we can
just use
USE_EXPAND_HIDDEN, but that's only designed for USE_EXPAND
flags).

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHLfk1/ejvha5XGaMRAqqIAKDiUJDeIXU9n+ikrRbk8rZNJ4Y0CwCb
BSwH
abNAp0Xoe8w5irwcZChgYEw=
=PvYZ
-----END PGP SIGNATURE-----
-- 
gentoo-portage-devgentoo.org mailing list


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )