Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 162306 - app-portage/genlop should support '=' prefix to ebuild names
Summary: app-portage/genlop should support '=' prefix to ebuild names
Status: RESOLVED FIXED
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: 2007-01-16 01:00 UTC by DEMAINE Benoît-Pierre, aka DoubleHP
Modified: 2007-04-02 17:34 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 DEMAINE Benoît-Pierre, aka DoubleHP 2007-01-16 01:00:46 UTC
For ease of use, genlop should accept '=' prefix when specifying ebuild versions. Example: I want to emerge a dozen of things, and come with

emerge -vp1 =sys-libs/db-4.2.52_p4 =media-libs/libkipi-0.1.4 =dev-cpp/gtkmm-2.8.3 | genlop -p

but, in order to get details, I was natural for me to ask
genlop -t =sys-libs/db-4.2.52_p4 =media-libs/libkipi-0.1.4 =dev-cpp/gtkmm-2.8.3
(either editing first line, or copy pasting ebuilds), what failed obviously:
!!! Error: no merge found for '=sys-libs/db-4.2.52_p4'
!!! Error: no merge found for '=media-libs/libkipi-0.1.4'
!!! Error: no merge found for '=dev-cpp/gtkmm-2.8.3'

Ok, manually removing the '=' is not so hard for a 3 ebuilds example; but when the output is a list of >10 names (revdep-rebuild often generated long lists), or for various other reasons, I think adding support for accepting optionnal '=' would improove compatibility with emerge, and ease of use, and should not interfeere with other functionalities.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2007-04-02 16:59:16 UTC
your actual scenario has been fixed in svn, working on getting -t =cat/package-version to work as well (simply doing -g cat/package-version works)
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2007-04-02 17:34:07 UTC
ok, fixed with -t searches as well for exact package names. svn committed.