I would like to install two (or more) versions of the same packages on my Gentoo system. I know for sure there won't be any file clash, since there very few files installed and each of them is named after the version.
I know about slots, but these are specified in the ebuild files, and let's assume I don't want to edit any ebuild file for several reasons.
I would like the installed versions to be part of the world package, so they can be reinstalled or uninstalled as usual.
Is there a way to install multiple versions of the same package? Do you know of some Portage tricks to achieve that?