Lines 1114-1139
Link Here
|
1114 |
|
1114 |
|
1115 |
#THIS NEXT BUNCH OF CODE NEEDS TO BE REPLACED TO SUPPORT WORLD ANTI-DEPS |
1115 |
#THIS NEXT BUNCH OF CODE NEEDS TO BE REPLACED TO SUPPORT WORLD ANTI-DEPS |
1116 |
#if mydep2[0]=="!":, etc. |
1116 |
#if mydep2[0]=="!":, etc. |
1117 |
if "--usepkg" in myopts: |
1117 |
self.select_files([mydep]) |
1118 |
mypk=portage.db[portage.root]["bintree"].dep_bestmatch(mydep) |
|
|
1119 |
if myeb==mypk: |
1120 |
myk=["binary",portage.root,mypk] |
1121 |
elif "--usepkgonly" in myopts: |
1122 |
if not mypk: |
1123 |
self.missingbins += [myeb] |
1124 |
myk=["binary",portage.root,myeb] |
1125 |
else: |
1126 |
myk=["binary",portage.root,mypk] |
1127 |
else: |
1128 |
myk=["ebuild",portage.root,myeb] |
1129 |
else: |
1130 |
myk=["ebuild",portage.root,myeb] |
1131 |
if not self.create(myk): |
1132 |
print |
1133 |
print "!!! Problem with",myk[0],myk[2] |
1134 |
print "!!! Possibly a DEPEND/*DEPEND problem." |
1135 |
print |
1136 |
return 0 |
1137 |
return 1 |
1118 |
return 1 |
1138 |
|
1119 |
|
1139 |
def match(self,mydep,myroot=portage.root,mykey=None): |
1120 |
def match(self,mydep,myroot=portage.root,mykey=None): |