1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Ciaran McCreesh wrote: |
5 |
> On Tue, 05 Feb 2008 13:21:34 -0800 |
6 |
> Zac Medico <zmedico@g.o> wrote: |
7 |
>> If the package manager exposes a slightly lower level interface to |
8 |
>> the USE flags then build_with_use can use that instead, and the |
9 |
>> package manager won't have to implement the full build_with_use |
10 |
>> interface. For example, portageq currently supports a "metadata" |
11 |
>> command that can be used to query installed package metadata such as |
12 |
>> USE and IUSE. Perhaps we should use some type of interface similar |
13 |
>> to that. |
14 |
> |
15 |
> That's also a possibility. How about something like: |
16 |
> |
17 |
> if [[ -n "${E_INSTALLED_PKG_METADATA_CMD}" ]] ; then |
18 |
> ${E_INSTALLED_PKG_METADATA_CMD} >=cat/pkg-1.23 USE foo |
19 |
> else |
20 |
> # old vdb stuff |
21 |
> fi |
22 |
> |
23 |
> with heavy (and checked) restrictions upon legal metadata keys (stuff |
24 |
> that's in individual files, not environment.bz2)? |
25 |
> |
26 |
|
27 |
That seems fine except it would be handy if it supports something |
28 |
like the built_with_use -a and -o options since, given your |
29 |
interface, it would be best to implement those on the package |
30 |
manager side. |
31 |
|
32 |
Zac |
33 |
-----BEGIN PGP SIGNATURE----- |
34 |
Version: GnuPG v2.0.7 (GNU/Linux) |
35 |
|
36 |
iD8DBQFHqrYq/ejvha5XGaMRArngAJ0SlTbooCI+5jjxesdF0MnkU0Ym6ACgsstw |
37 |
5Mp+QGZPTVPGw2LyY7Cmwpk= |
38 |
=8xmy |
39 |
-----END PGP SIGNATURE----- |
40 |
-- |
41 |
gentoo-dev@l.g.o mailing list |