Lines 587-595
Link Here
|
587 |
|
587 |
|
588 |
update_spinner() |
588 |
update_spinner() |
589 |
|
589 |
|
590 |
myuse=portage.settings["USE"] |
|
|
591 |
if len(mybigkey) == 3: |
590 |
if len(mybigkey) == 3: |
592 |
mytype,myroot,mykey=mybigkey |
591 |
mytype,myroot,mykey=mybigkey |
|
|
592 |
myuse=string.split(portage.settings["USE"]) |
593 |
for x in portage.dep_getpuse(mykey): |
594 |
if x[0]=="-": |
595 |
myuse.remove(x[1:]) |
596 |
myuse.append(x) |
597 |
else: |
598 |
myuse.remove("-"+x) |
599 |
myuse.append(x) |
600 |
myuse=string.join(myuse) |
593 |
else: |
601 |
else: |
594 |
mytype,myroot,mykey,myuse=mybigkey |
602 |
mytype,myroot,mykey,myuse=mybigkey |
595 |
|
603 |
|
Lines 1074-1086
Link Here
|
1074 |
|
1082 |
|
1075 |
iuse="" |
1083 |
iuse="" |
1076 |
if "--verbose" in myopts: |
1084 |
if "--verbose" in myopts: |
|
|
1085 |
myiuse=portage.dep_getpuse(x[2]) |
1077 |
for ebuild_iuse in string.split(portage.portdb.aux_get(x[2],["IUSE"])[0], " "): |
1086 |
for ebuild_iuse in string.split(portage.portdb.aux_get(x[2],["IUSE"])[0], " "): |
1078 |
try: |
1087 |
if ebuild_iuse in myiuse: |
1079 |
if (portage.usesplit.index(ebuild_iuse) >= 0) : |
1088 |
iuse=iuse+darkred("+"+ebuild_iuse)+" " |
1080 |
iuse=iuse+red("+"+ebuild_iuse)+" " |
1089 |
elif "-"+ebuild_iuse in myiuse: |
1081 |
except ValueError: |
1090 |
iuse=iuse+darkblue("-"+ebuild_iuse)+" " |
1082 |
if ebuild_iuse != "": |
1091 |
elif ebuild_iuse in portage.usesplit: |
1083 |
iuse=iuse+blue("-"+ebuild_iuse)+" " |
1092 |
iuse=iuse+red("+"+ebuild_iuse)+" " |
|
|
1093 |
elif ebuild_iuse != "": |
1094 |
iuse=iuse+blue("-"+ebuild_iuse)+" " |
1084 |
|
1095 |
|
1085 |
xs=portage.pkgsplit(x[2]) |
1096 |
xs=portage.pkgsplit(x[2]) |
1086 |
if xs[2]=="r0": |
1097 |
if xs[2]=="r0": |
Lines 1842-1849
Link Here
|
1842 |
else: |
1853 |
else: |
1843 |
myvars=['GENTOO_MIRRORS', 'CONFIG_PROTECT', 'CONFIG_PROTECT_MASK', |
1854 |
myvars=['GENTOO_MIRRORS', 'CONFIG_PROTECT', 'CONFIG_PROTECT_MASK', |
1844 |
'PORTDIR', 'DISTDIR', 'PKGDIR', 'PORTAGE_TMPDIR', 'PORTDIR_OVERLAY', |
1855 |
'PORTDIR', 'DISTDIR', 'PKGDIR', 'PORTAGE_TMPDIR', 'PORTDIR_OVERLAY', |
1845 |
'USE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS','ACCEPT_KEYWORDS', |
1856 |
'USE', 'PKGUSE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS', |
1846 |
'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES'] |
1857 |
'ACCEPT_KEYWORDS', 'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES'] |
1847 |
myvars.sort() |
1858 |
myvars.sort() |
1848 |
for x in myvars: |
1859 |
for x in myvars: |
1849 |
print x+'="'+portage.settings[x]+'"' |
1860 |
print x+'="'+portage.settings[x]+'"' |