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