Exist a bash way to search a value (read package) inside
DEPEND/RDEPEND variables defined in the ebuilds.
If not which is the easyer way ?


I'm not sure to understand what are you looking for, but maybe unclepine is the tool for you:

http://forums.gentoo.org/viewtopic.php?t=249828

Ciao
Francesco


one shot one kill, it's exactly what I was searching for.
Ciao
 Francesco

spoken too fast as always, unclepine check dependancies of installed packages, I need a way to grep the portage tree DEPEND variables.
anyway it's an interesting tool, saved for later use ;)


I was thinking to something like:

find /usr/portage -name "*.ebuild" -exec grep -ls "\sDEPEND=.*dev-db/mysql" {} \;

but DEPEND variable span across multiple lines, and I don't know how to parse it :(



--
[email protected] mailing list



Reply via email to