Lines 740-746
Link Here
|
740 |
print "Depstring:",depstring |
740 |
print "Depstring:",depstring |
741 |
if not arg: |
741 |
if not arg: |
742 |
#processing dependencies |
742 |
#processing dependencies |
743 |
mycheck=portage.dep_check(depstring,self.mydbapi[myroot]) |
743 |
mycheck=portage.dep_check(depstring,self.mydbapi[myroot],parent=myparent) |
744 |
if not mycheck[0]: |
744 |
if not mycheck[0]: |
745 |
return 0 |
745 |
return 0 |
746 |
mymerge=mycheck[1] |
746 |
mymerge=mycheck[1] |
Lines 1001-1014
Link Here
|
1001 |
|
1001 |
|
1002 |
iuse="" |
1002 |
iuse="" |
1003 |
if "--verbose" in myopts: |
1003 |
if "--verbose" in myopts: |
|
|
1004 |
myiuse=[] |
1005 |
for mypkg in portage.pkgusesplit: |
1006 |
if portage.portdb.xmatch("bestmatch-list",mypkg,None,None,[x[2]]): |
1007 |
myiuse.extend(portage.pkgusesplit[mypkg]) |
1004 |
for ebuild_iuse in string.split(portage.portdb.aux_get(x[2],["IUSE"])[0], " "): |
1008 |
for ebuild_iuse in string.split(portage.portdb.aux_get(x[2],["IUSE"])[0], " "): |
1005 |
try: |
1009 |
if ebuild_iuse in myiuse: |
1006 |
if (portage.usesplit.index(ebuild_iuse) >= 0) : |
1010 |
iuse=iuse+darkred("+"+ebuild_iuse)+" " |
1007 |
iuse=iuse+red("+"+ebuild_iuse)+" " |
1011 |
elif "-"+ebuild_iuse in myiuse: |
1008 |
except ValueError: |
1012 |
iuse=iuse+darkblue("-"+ebuild_iuse)+" " |
1009 |
if ebuild_iuse != "": |
1013 |
elif ebuild_iuse in portage.usesplit: |
1010 |
iuse=iuse+blue("-"+ebuild_iuse)+" " |
1014 |
iuse=iuse+red("+"+ebuild_iuse)+" " |
1011 |
|
1015 |
elif ebuild_iuse != "": |
|
|
1016 |
iuse=iuse+blue("-"+ebuild_iuse)+" " |
1012 |
xs=portage.pkgsplit(x[2]) |
1017 |
xs=portage.pkgsplit(x[2]) |
1013 |
if xs[2]=="r0": |
1018 |
if xs[2]=="r0": |
1014 |
xs[2]="" |
1019 |
xs[2]="" |
Lines 1752-1759
Link Here
|
1752 |
else: |
1757 |
else: |
1753 |
myvars=['GENTOO_MIRRORS', 'CONFIG_PROTECT', 'CONFIG_PROTECT_MASK', |
1758 |
myvars=['GENTOO_MIRRORS', 'CONFIG_PROTECT', 'CONFIG_PROTECT_MASK', |
1754 |
'PORTDIR', 'DISTDIR', 'PKGDIR', 'PORTAGE_TMPDIR', 'PORTDIR_OVERLAY', |
1759 |
'PORTDIR', 'DISTDIR', 'PKGDIR', 'PORTAGE_TMPDIR', 'PORTDIR_OVERLAY', |
1755 |
'USE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS','ACCEPT_KEYWORDS', |
1760 |
'USE', 'PKGUSE', 'COMPILER', 'CHOST', 'CFLAGS', 'CXXFLAGS', |
1756 |
'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES'] |
1761 |
'ACCEPT_KEYWORDS', 'MAKEOPTS', 'AUTOCLEAN', 'SYNC', 'FEATURES'] |
1757 |
for x in myvars: |
1762 |
for x in myvars: |
1758 |
print x+'="'+portage.settings[x]+'"' |
1763 |
print x+'="'+portage.settings[x]+'"' |
1759 |
#print portage.settings.keys() |
1764 |
#print portage.settings.keys() |