Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Guest
Guest





PostPosted: Wed Jun 19, 2002 4:39 pm    Post subject: emerge ebuild Reply with quote

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
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Wed Jun 19, 2002 4:44 pm    Post subject: Reply with quote

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? :D)
Back to top
View user's profile Send private message
Guest
Guest





PostPosted: Wed Jun 19, 2002 4:53 pm    Post subject: Reply with quote

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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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