saltstack/salt — pull request #3059 by shadowfax-chc (2012-12-28 16:04:25+00:00)
Title: gentoolkit module

Gentoo has a package gentoolkit. The package is not part of the base install, but it is an essential package for any Gentoo user. The major program from this package is revdep-rebuild which fixes broken reverse dependencies after removing old packages (via depclean). Various packages often advise the user to run revdep-rebuild after updating, and emerge advises the user to run it after any depclean.

Since this is not a direct part of portage/emerge, I thought it might belong in a separate module. This is an initial attempt at providing access to revdep-rebuild via salt.

As far as I know, no other distro has a tool like this. Distros with binary packages would not need such a tool anyway, but it is a must have for a distro like Gentoo that builds everything from source.