1 |
On 04/27/2011 04:24 PM, Chris Richards wrote: |
2 |
|
3 |
> |
4 |
> I'm looking into writing a little tool that will help facilitate this, |
5 |
> giving us a 'profile explorer' that would enable use to see what a given |
6 |
> profile looks like without having to actually switch to it and then do |
7 |
> 'emerge --info'. Kindof like a DOM explorer, but for Gentoo profiles. |
8 |
> |
9 |
|
10 |
#!/usr/bin/env python |
11 |
|
12 |
import portage |
13 |
for p in portage.settings.profiles: |
14 |
print p |
15 |
|
16 |
|
17 |
-- |
18 |
Anthony G. Basile, Ph.D. |
19 |
Gentoo Linux Developer [Hardened] |
20 |
E-Mail : blueness@g.o |
21 |
GnuPG FP : 8040 5A4D 8709 21B1 1A88 33CE 979C AF40 D045 5535 |
22 |
GnuPG ID : D0455535 |