On 2008/08/02, Zac Medico <[EMAIL PROTECTED]> wrote:

> USE flags are something that can be enable or disabled

Here, what the flag would enable/disable is belonging of live packages
to the @live-rebuild set.  Compared to the RESTRICT solution, user
gains an easy per-package control of this set (sure, the flag would be
turned on in profiles, so that @live-rebuild is complete by default).

> but the behavior of the src_unpack() method downloading live sources
> is not something that's generally controlled by a USE flag afaik.

Right, this "live-rebuild" USE flag would not control anything in the
way the ebuild is executed, but only in the way the package is handled
by Portage.  It's not primary usage of USE flags, sure, but it's not 
completly unusual neither (for instance, take USE flags which are just 
there to trigger some convenience PDEPEND).


Anyway, to rephrase / summarize my idea:

 - IUSE="live-rebuild" in the ebuild
  ==> triggers LIVEVCS.stable repoman check

 - IUSE="live-rebuild" in the ebuild, and package is installed, 
and USE flag "live-rebuild" is enabled for this package
  ==> makes it belong to the @live-rebuild set

-- 
TGL.

Reply via email to