/var/db/repos/gentoo/metadata/md5-cache

is Article description::a metadata cache directory distributed with the official Gentoo repository and used by Portage if  is disabled in  (which is the default). For more information please see this forum thread.