Querying information about your portage install is easy with portageq, an excellent little tool under Gentoo Linux. Check out this video to learn the basics of how to use portageq!
Follow me on YouTube for more Linux videos: https://www.youtube.com/channel/UC8F_ci7-G_XBXvoRGQR-fMQ