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

Bug 390749

Summary: app-portage/portage-utils: qdepends: parse searches as atoms when appropriate
Product: Portage Development Reporter: aditsu <aditsu>
Component: Third-Party ToolsAssignee: Portage Utils Team <portage-utils>
Status: RESOLVED FIXED    
Severity: enhancement CC: gilaro, pesa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description aditsu 2011-11-16 19:21:37 UTC
When I run "qdepends package", it shows the dependencies of all the packages *containing* the given package name. Sometimes, there can be a lot of matches, e.g. "qdepends ibus" has 13 results on my computer, because I have various ibus-related packages, as well as scribus and libusb. Adding the category - "qdepends app-i18n/ibus" - only reduces the results to 11.

So I would like to have an option that works like "eix -e", matching the package name exactly.

Reproducible: Always
Comment 2 Kevin Vigouroux 2018-01-12 15:44:43 UTC
The utility does not search exact full string and therefore provides unexpected matches.

larry $ qdepends -Q dev-libs/gobject-introspection
dev-libs/gobject-introspection-1.50.0
media-libs/harfbuzz-1.7.2
larry $ grep -n dev-libs/gobject-introspection /usr/portage/dev-libs/gobject-introspection/gobject-introspection-1.50.0.ebuild
25: >=gobject-introspection-common-${PV}

larry $ qdepends -aQ logrotate
sys-apps/portage-2.3.13-r1
larry $ grep logrotate /usr/portage/sys-apps/portage/portage-2.3.13-r1.ebuild
!<app-admin/logrotate-3.8.0"
larry $ emerge -pv sys-apps/portage
[ebuild R] sys-apps/portage-2.3.13-r1
larry $ emerge -pv -O logrotate
[ebuild N] app-admin/logrotate-3.13.0

larry $ qdepends -aQ dev-lang/yasm
media-libs/libjpeg-turbo-1.5.1
larry $ grep -n dev-lang/yasm /usr/portage/media-libs/libjpeg-turbo/libjpeg-turbo-1.5.1.ebuild
18:ASM_DEPEND="|| ( dev-lang/nasm dev-lang/yasm )"
larry $ emerge -pv dev-lang/nasm
[ebuild R  ] dev-lang/nasm-2.12.01
larry $ emerge -pv dev-lang/yasm
[ebuild N ] dev-lang/yasm-1.3.0
Comment 3 Kevin Vigouroux 2018-01-24 15:14:06 UTC
I created a new bug report: bug #645560