Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114432 - equery depends regexps
Summary: equery depends regexps
Status: RESOLVED WORKSFORME
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: 2005-12-04 04:27 UTC by Henrique Ferreiro
Modified: 2009-10-27 20:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henrique Ferreiro 2005-12-04 04:27:14 UTC
infhfg00@localhost ~ $ equery depends gtk+-1.2*

[ Searching for packages depending on gtk+-1.2*... ]
app-text/ghostscript-afpl-8.53
...

but

infhfg00@localhost ~ $ equery depends gtk+-1* does not report anything.

I think this would be very useful.

Reproducible: Always
Steps to Reproduce:
Comment 1 Douglas Anderson 2009-10-27 20:21:32 UTC
At least in gentoolkit-0.3.0 and probably earlier, you'll need to use either an actual regular expression (with the --full-regex flag) OR a valid atom to do version expansion. Notice that even emerge doesn't do version expansion if it's not a proper atom. equery list, depends, and similar can all accept the same input as emerge (but you don't need the explicit '=').

$ emerge -qp gtk+-2*
!!! 'gtk+-2*' is not a valid package atom.
!!! Please check ebuild(5) for full details.
$ emerge -qp =x11-libs/gtk+-2*
[ebuild   R   ] x11-libs/gtk+-2.16.6 
$ equery -q list x11-libs/gtk+-2*
x11-libs/gtk+-2.16.6