I am packaging software that depends on app-admin/sudo and requires that the /etc/sudoers.d directory exists. Unfortunately app-admin/sudo does not create this directory when it is installed. It would not make sense for my package to create this directory as it would be very strange for a package other than sudo to own it, and there would be potential permissions issues. Should app-admin/sudo be updated to create this directory?
Packages do not own directories; they own files within directories. Feel free to install files in /etc/sudoers.d in an ebuild. Portage will create the directory if it is missing automatically.