Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68510 - Patch: virtual option for equery
Summary: Patch: virtual option for equery
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-22 01:09 UTC by Michael Kohl (RETIRED)
Modified: 2005-08-05 03:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Adds a virtual option to equery (equery-virtual.patch,2.16 KB, patch)
2004-10-22 01:09 UTC, Michael Kohl (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***