Add an option to equery depgraph to only display the direct dependencies of the package. The following command partially works, but fails to list direct dependencies that are in themselves a dependency of another dependency. # equery depgraph kdelibs | egrep '(^ `|^`)' `-- kde-base/kdelibs-3.5.0 `-- x11-libs/qt-3.3.4-r8 `-- kde-base/arts-3.5.0 [ arts ] `-- dev-libs/libxslt-1.1.15 `-- net-dns/libidn-0.5.20 `-- sys-apps/utempter-0.5.5.6 (virtual/utempter) `-- media-libs/jasper-1.701.0 [ jpeg2k ] `-- app-text/aspell-0.60.4 [ spell ] `-- app-admin/fam-2.7.0-r4 (virtual/fam)
Just as sidenote: I would like to get the direct deps of kde, so I could pipe it to a script that calls genlop -t on each direct dep and them sums all times, so I could get the total kde merge time. I already have this script, but the kde packages are hardcoded, because I found no simple way to get the direct deps of kde.
(In reply to comment #1) > Just as sidenote: I would like to get the direct deps of kde, so I could pipe > it to a script that calls genlop -t on each direct dep and them sums all times, > so I could get the total kde merge time. I already have this script, but the > kde packages are hardcoded, because I found no simple way to get the direct > deps of kde. > whats wrong with 'emerge -p kde | genlop -p' ?
$ svn commit -m "Add --depth option to equery depgraph to limit the depth of the dependency graph. (Bug #115807)" Sending trunk/ChangeLog Sending trunk/src/equery/equery Sending trunk/src/equery/equery.1 Transmitting file data ... Committed revision 355.
Fixed in gentoolkit-0.2.4_pre2