Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 83274 Details for
Bug 127805
add USE flag lookup support to emerge --ask
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to support use-lookup from --ask
emerge.diff (text/plain), 1.41 KB, created by
Jasper Bryant-Greene
on 2006-03-27 18:41:50 UTC
(
hide
)
Description:
patch to support use-lookup from --ask
Filename:
MIME Type:
Creator:
Jasper Bryant-Greene
Created:
2006-03-27 18:41:50 UTC
Size:
1.41 KB
patch
obsolete
>--- /usr/bin/emerge_back 2006-03-28 13:47:53.000000000 +1200 >+++ /usr/bin/emerge 2006-03-28 14:31:50.000000000 +1200 >@@ -3184,12 +3184,19 @@ > prompt="Do you want me to fetch the source files for these packages?" > else: > prompt="Do you want me to merge these packages?" >- print >- if userquery(prompt)=="No": >+ response = "" >+ while response != "Yes": > print >- print "Quitting." >- print >- sys.exit(0) >+ response = userquery(prompt,["Yes","No","Use"],[green,red,blue]) >+ if response=="No": >+ print >+ print "Quitting." >+ print >+ sys.exit(0) >+ elif response=="Use": >+ sys.stdout.write(bold("Get description of what USE flag? ")) >+ sys.stdout.write(bold("Description from /usr/portage/profiles/use.desc: ")+commands.getoutput( "grep ^" + sys.stdin.readline().strip() + " /usr/portage/profiles/use.desc")) >+ print > # Don't ask again (e.g. when auto-cleaning packages after merge) > myopts.remove("--ask") >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 127805
: 83274