I attach here a proposed new function for eutils.eclass. Review requested. Thanks to zlin and igli for initial review and suggestions on #gentoo-dev-help. -- /PA