1 |
On 07/26/14 07:36, Pacho Ramos wrote: |
2 |
> El sáb, 26-07-2014 a las 06:22 -0400, Anthony G. Basile escribió: |
3 |
> [...] |
4 |
>> 1) I don't think we need to drop to exp if we do this right. |
5 |
>> |
6 |
>> 2) I like this plan. Its not that we'll drop the whole arch to ~ at |
7 |
>> once but trim at our discretion. Less chance of breaking everything. |
8 |
>> |
9 |
> Looks like we can get the full list of packages with stable versions |
10 |
> with: |
11 |
> EIX_LIMIT=0 eix --stable -# |
12 |
> |
13 |
> But I don't find how to make eix show me the output for ppc* (I have |
14 |
> amd64 and uses that as arch) |
15 |
> |
16 |
> |
17 |
|
18 |
The following python script will list all ebuilds and their keywords. |
19 |
I'm busy as all hell right now, but I can hack it up to give us what we |
20 |
need. You can in the mean time play with it. It is slow because python |
21 |
is slow and the tree is big. |
22 |
|
23 |
|
24 |
#!/usr/bin/env python |
25 |
|
26 |
import portage, re |
27 |
|
28 |
portdb = portage.db[portage.root]["porttree"].dbapi |
29 |
|
30 |
for pkg in portdb.cpv_all(): |
31 |
keywords = portdb.aux_get(pkg, ["KEYWORDS"])[0] |
32 |
print("%s %s" % (pkg, keywords)) |
33 |
|
34 |
|
35 |
-- |
36 |
Anthony G. Basile, Ph.D. |
37 |
Gentoo Linux Developer [Hardened] |
38 |
E-Mail : blueness@g.o |
39 |
GnuPG FP : 1FED FAD9 D82C 52A5 3BAB DC79 9384 FA6E F52D 4BBA |
40 |
GnuPG ID : F52D4BBA |