Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 184520 Details for
Bug 261935
app-portage/esearch - patch for new "search for packages NOT installed" feature
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch that adds -N option to esearch
261935-notinst-option.patch (text/plain), 1.54 KB, created by
JTRiley
on 2009-03-10 02:29:07 UTC
(
hide
)
Description:
patch that adds -N option to esearch
Filename:
MIME Type:
Creator:
JTRiley
Created:
2009-03-10 02:29:07 UTC
Size:
1.54 KB
patch
obsolete
>--- esearch.py 2009-03-09 22:22:55.000000000 -0400 >+++ esearch.py.new 2009-03-09 22:22:48.000000000 -0400 >@@ -41,6 +41,9 @@ > print darkgreen(" --instonly") + ", " + darkgreen("-I") > print " Find only packages which are installed" > print "" >+ print darkgreen(" --notinst") + ", " + darkgreen("-N") >+ print " Find only packages which are not installed" >+ print "" > print darkgreen(" --compact") + ", " + darkgreen("-c") > print " More compact output format" > print "" >@@ -113,10 +116,11 @@ > fullname = False > pattern = False > instonly = False >+notinst = False > found_in_overlay = False > > try: >- opts = getopt(sys.argv[1:], "hSFIcveo:d:n", ["help", "searchdesc", "fullname", "instonly", "compact", "verbose", "ebuild", "own=", "directory=", "nocolor"]) >+ opts = getopt(sys.argv[1:], "hSFINcveo:d:n", ["help", "searchdesc", "fullname", "instonly", "notinst", "compact", "verbose", "ebuild", "own=", "directory=", "nocolor"]) > except GetoptError, errmsg: > error(str(errmsg) + " (see " + darkgreen("--help") + " for all options)") > >@@ -129,6 +133,8 @@ > fullname = True > elif arg in ("-I", "--instonly"): > instonly = True >+ elif arg in ("-N", "--notinst"): >+ notinst = True > elif arg in ("-c", "--compact"): > outputm = COMPACT > elif arg in ("-v", "--verbose"): >@@ -207,6 +213,8 @@ > > if instonly and not pkg[4]: > continue >+ elif notinst and pkg[4]: >+ continue > > if fullname and regex.search(pkg[1]): > found = True
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 261935
: 184520 |
184521