Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390749 - app-portage/portage-utils: qdepends: parse searches as atoms when appropriate
Summary: app-portage/portage-utils: qdepends: parse searches as atoms when appropriate
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal enhancement with 2 votes (vote)
Assignee: Portage Utils Team
Depends on:
Reported: 2011-11-16 19:21 UTC by aditsu
Modified: 2018-01-24 15:14 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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
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
larry $ grep logrotate /usr/portage/sys-apps/portage/portage-2.3.13-r1.ebuild
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
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