When I change USE flags in make.conf, I like to see what currently installed packages are affected so I can rebuild them as appropriate. This patch makes equery answer that question. Usage: $ equery changeduses Displays packages affected by changes in USE flags since package was originally merged. $ equery changeduses -v or $ equery changeduses --verbose As above, except changed USE flags are reported in "equery uses xxx" format. Known limitations: - All installed category/package/version combinations are tested. If the ebuild is no longer available a warning message is displayed, but operation continues. - Would be nice to report which packages should be built because of a version bump. This is my first foray into portage development, so it's not immediately obvious to me how to address the noted limitations. If someone cares to provide some guidance I'll be glad to take a shot at it (Phython is far from my strongest language though). Reproducible: Always Steps to Reproduce:
Created attachment 28537 [details, diff] Patch to equery from gentoolkit-0.2.0_pre8
That functionality is already in emerge (--newuse parameter; in the 2.0.51 series), no need to duplicate it.