The main barrier to proper keepdir usage is that nobody knows what it's for. These two commits update the ebuild (5) man page with an explanation, namely that empty directories are undefined by the PMS.
v2 uses different wording for dodir, and tries to be more precise about what we mean by "is (non)empty." Michael Orlitzky (2): man/ebuild.5: document that dodir is for nonempty directories. man/ebuild.5: document the rationale for using keepdir over dodir. man/ebuild.5 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) -- 2.13.6