portage.env.validators module

portage.env.validators.PackagesFileValidator(atom)

This function mutates atoms that begin with - or * It then checks to see if that atom is valid, and if so returns True, else it returns False.

Args:

atom: a string representing an atom such as sys-apps/portage-2.1