This used to be specified in PMS (see https://gitweb.gentoo.org/proj/pms.git/commit/?id=ede65b5d136640575479c9c9a3162ee4d2be953e), but makes more sense as a tree policy.
Created attachment 848336 [details, diff] ebuild-format: Restrict D to src_install and pkg_preinst
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/policy-guide.git/commit/?id=12f1e30e82a0ecedd91e77edfbb519366edb17b0 commit 12f1e30e82a0ecedd91e77edfbb519366edb17b0 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2023-01-13 07:49:00 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-01-13 08:04:54 +0000 ebuild-format: Restrict D to src_install and pkg_preinst This used to be specified in PMS (see commit ede65b5 in proj/pms.git), but makes more sense as a tree policy. Also exclude pkg_postinst, because nothing in the Gentoo repository appears to use D there, and in the postinst phase the directory will be empty of files anyway. Bug: https://bugs.gentoo.org/890624 Signed-off-by: Ulrich Müller <ulm@gentoo.org> ebuild-format.rst | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+)