Hi, I've attached a patch to portage.py and emerge to implement a feature mentioned in bug #1771 by seemant. The feature will show all useflags that will affect the build of the package(s) you are about to emerge. This list is only displayed with the --pretend option. It obviously needs some more work and i'm not a python expert (in fact, this is the first time i've ever done anything in python), but this should show the idea. I hope someone likes this enough to get something similar into portage, because it makes figuring out the correct useflags so much easier. Thanks, Ronald.
Created attachment 3573 [details, diff] small emerge feature patch
Created attachment 3574 [details, diff] small portage.py feature patch
Already in portage via 'emerge info'