repoman
./pym/repoman/modules/scan/eclasses/live.py:36: if ebuild.live_ebuild and self.repo_settings.repo_config.name == "gentoo":
./pym/repoman/repos.py:79: if self.repo_config.sign_manifest and self.repo_config.name == "gentoo" and \
There is a lot of Gentoo-specific stuff here, obviously. URLs, licenses, email addresses, etc. These seem to be the most pertinent lines that need to be changed to get repoman to work at all, though. See the full output of grep -Rn gentoo for more.
pkgcheck
./pkgcheck/repo_metadata.py:336: if self.repo.repo_name == 'gentoo':
~/.pkgcore.conf must also be updated, if applicable.