List Archive: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Vaeth wrote:
> Sorry that this is slightly OT, but maybe one should think
> about this point in this discussion:
>
>> It seems like USE would be an unconventional location to store that
>> information and I'm not sure that it really belongs in the ebuild.
>
> USE=live could perfectly make sense, if it is equipped with
> the obvious meaning:
>
> I suggest that if it is set, then it is attempted before building
> to download the newest source from cvs/svn/git/monotone/bzr/...,
> otherwise only the previously downloaded source is recompiled.
> Currently, this functionality, which is extremely useful for
> systems without permanent internet connection, is only
> implemented inconsistently by using environment variables,
> differently for each vcs:
> cvs: CVS_OFFLINE or CVS_OFFLINE_package_name
> git: EGIT_OFFLINE or ESCM_OFFLINE
> svn: ESVN_OFFLINE or ESCM_OFFLINE
> ???: Perhaps not implemented at all?
>
> Then it would also make sense that @live-ebuilds consists
> only of those packages for which the live USE-flag is
> actually set (because the user does not want to treat them
> as "live").
Well, it seems to me that you're trying to shoehorn a USE flag into
a role that's intended to be filled by package sets. The idea is
that instead of settings USE flags in package.use, you'd define a
package set containing the specific packages that you want rebuilt.
Trying to define your set inside package.use would be an abuse of
package.use and we've already got package sets designed for that
purpose.
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iEYEARECAAYFAkiVumgACgkQ/ejvha5XGaMhRACeNiJD30ggs/plNGuhX78B63Yv
fX4An2faHig4ZreJD/3I1uGOEa/UTaDb
=p9G+
-----END PGP SIGNATURE-----
|
|