saltstack/salt — pull request #3053 by shadowfax-chc (2012-12-28 01:13:59+00:00)
Title: ebuild depclean function

Emerge has an option, depclean, that removes unused dependencies. It can also be provided a package and emerge will only remove the package if no other package depends on it. I created this as a new function in the ebuild module. I am not sure if it belongs as its own function or should be integrated into remove/purge. I know personally I never use the --unmerge feature of emerge, but rather always use depclean when I want to remove a package. I am not sure about other Gentoo users thought.

Any comments on where this belongs?