/etc/portage/package.mask

/etc/portage/package.mask is the file, or a directory of files, that can be used to prevent certain packages from being installed.

Example
/etc/portage/package.mask/example

Format
One DEPEND atom per line; comment lines begin with.

For DEPEND atom syntax, see version specifier.