Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68510

Summary: Patch: virtual option for equery
Product: Portage Development Reporter: Michael Kohl (RETIRED) <citizen428>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED INVALID    
Severity: enhancement CC: flash3001, franke.daniel
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Adds a virtual option to equery

Description Michael Kohl (RETIRED) gentoo-dev 2004-10-22 01:09:00 UTC
Added an option to show which package currently satisfies a given virtual. Thought it may be useful too others.

Usage example:
# equery v editor
app-editors/vim

# equery virtual mta
mail-mta/ssmtp

# equery v foo
!!! There doesn't seem to be a virtual called foo.

Be gentle, I normally don't write much Python. *cough*Ruby herd*cough* 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Kohl (RETIRED) gentoo-dev 2004-10-22 01:09:57 UTC
Created attachment 42402 [details, diff]
Adds a virtual option to equery
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2004-10-22 04:46:32 UTC
Doesn't equery which virtual/xxx already do this?
Comment 3 Michael Kohl (RETIRED) gentoo-dev 2004-10-22 04:58:36 UTC
Oh, you're correct, I didn't know that this works:

# equery w virtual/mta
/usr/portage/mail-mta/ssmtp/ssmtp-2.60.9.ebuild

However, personnaly I prefer my version, and it was a nice little Python exercise. :) 
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-08-05 03:59:04 UTC
*** Bug 101420 has been marked as a duplicate of this bug. ***