View previous topic :: View next topic |
Author |
Message |
Guest Guest
|
Posted: Wed Jun 19, 2002 4:39 pm Post subject: emerge ebuild |
|
|
Where can I find information on the colored character displayed when dependencies are checked?
[ebuild <colored characters>] Package
Been looking around like crazy |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jun 19, 2002 4:44 pm Post subject: |
|
|
RTFS: (/usr/bin/emerge)
Code: | def display(self,mylist):
for x in mylist:
if x[0]=="blocks":
addl=""+red("B")+" "
myspeckey=portage.db[x[1]]["vartree"].resolve_key(x[2])
if myspeckey!=x[2]:
print "["+x[0]+" "+addl+"]",red(x[2]+" ("+myspeckey+")")
else:
print "["+x[0]+" "+addl+"]",red(x[2])
else:
if portage.db[x[1]]["vartree"].exists_specific(x[2]):
addl=" "+yellow("R")+" "
elif portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
addl=" "+turquoise("U")+" "
else:
addl=" "+green("N")+" "
print "["+x[0]+" "+addl+"]",x[2],"to",x[1]
|
Okay, there really should be documentation on it, but RTFS is so much more fun. Less helpful, but fun. (You do know Python, right? ) |
|
Back to top |
|
|
Guest Guest
|
Posted: Wed Jun 19, 2002 4:53 pm Post subject: |
|
|
Thanks for the fast reply
yes, RTFS can be fun from time to time, but i prefer documentation.
Really should be documented in "The Portage Manual" |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|