I like to have a simple way to display SRC_URI and LICENSE in this view: ~ # eix -I eix [I] app-portage/eix Available versions: 0.32.9 ~0.33.0-r1 ~0.33.2 {debug doc nls sqlite} Installed versions: 0.32.9(03:07:05 28/01/18)(nls sqlite -debug -doc) Homepage: https://github.com/vaeth/eix/ Description: Search and query ebuilds
LICENSE: You can use "eix -Iv eix" (which displays also a little bit more). Or you can define your own format. For instance, you can modify the output of eix --dump|grep FORMAT_ALL= and insert %{FORMATLINE_LICENSES} (e.g. after %{FORMATLINE_DESCRIPTION}), and then export the new FORMAT_ALL variable (or put the assignment into some file from /etc/eixrc/ or into ~/.eixrc). SRC_URI: This data is currently not stored in the eix database, because it would presumably double or triple the size of the database (with a corresponding slowdown) for not too much gain. Unless there is a very good reason I also do not indent to change this, since SRC_URI is only useful if it would be stored/displayed for each version (instead of a package), i.e. it would only go to the output of "eix -Ivl eix"
(In reply to Martin Väth from comment #1) > LICENSE: You can use "eix -Iv eix" (which displays also a little bit more). > Or you can define your own format. For instance, you can modify the output of > eix --dump|grep FORMAT_ALL= > and insert %{FORMATLINE_LICENSES} (e.g. after %{FORMATLINE_DESCRIPTION}), > and then export the new FORMAT_ALL variable (or put the assignment into some > file from /etc/eixrc/ or into ~/.eixrc). OK, this will work for me, thanks. > > SRC_URI: This data is currently not stored in the eix database, because it > would presumably double or triple the size of the database (with a > corresponding slowdown) for not too much gain. > Unless there is a very good reason I also do not indent to change this, > since SRC_URI is only useful if it would be stored/displayed for each > version (instead of a package), i.e. it would only go to the output of "eix > -Ivl eix" I see, I would only need SRC_URI for installed pkgs. I tend to use eix to get of list of installed pkgs in the system for documentation purposes. Maybe there another way to get at the SRC_URI ?
Unfortunately, portage does not store the SRC_URI of installed packages in /var/db. It seems the only way to get the information is to use the metadata. After thinking it over, I decided that eix should optionally support SRC_URI, depending on the value of a new eix configuration variable SRC_URI. (So that people who do not want the increase of disk/memory usage can configure eix correspondingly). The new version with this optional support is now in the git repository. The corresponding alpha version eix-0.33.5_alpha20180919 is in the mv overlay. In that overlay there is also a USE-flag for setting the default value of SRC_URI.