-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ciaran McCreesh wrote:
> On Tue, 05 Feb 2008 13:21:34 -0800
> Zac Medico <[EMAIL PROTECTED]> wrote:
>> If the package manager exposes a slightly lower level interface to
>> the USE flags then build_with_use can use that instead, and the
>> package manager won't have to implement the full build_with_use
>> interface. For example, portageq currently supports a "metadata"
>> command that can be used to query installed package metadata such as
>> USE and IUSE. Perhaps we should use some type of interface similar
>> to that.
>
> That's also a possibility. How about something like:
>
> if [[ -n "${E_INSTALLED_PKG_METADATA_CMD}" ]] ; then
> ${E_INSTALLED_PKG_METADATA_CMD} >=cat/pkg-1.23 USE foo
> else
> # old vdb stuff
> fi
>
> with heavy (and checked) restrictions upon legal metadata keys (stuff
> that's in individual files, not environment.bz2)?
>
That seems fine except it would be handy if it supports something
like the built_with_use -a and -o options since, given your
interface, it would be best to implement those on the package
manager side.
Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
iD8DBQFHqrYq/ejvha5XGaMRArngAJ0SlTbooCI+5jjxesdF0MnkU0Ym6ACgsstw
5Mp+QGZPTVPGw2LyY7Cmwpk=
=8xmy
-----END PGP SIGNATURE-----
--
[email protected] mailing list