Created attachment 864663 [details, diff] Tested patch for sys-apps/apparmor-utils-3.1.4 All ebuilds for sys-apps/apparmor-utils currently in the tree depend on Perl and several Perl modules, but those dependencies are unnecessary because upstream has rewritten all utilities in Python. The last rewrite was before the 3.0.0 release (https://gitlab.com/apparmor/apparmor/-/commit/a74d7cf51cf5d87d5d362cb7dd279a0034029631) and the README since states "Perl is no longer needed since none of the utilities shipped to end users depend on it anymore." I have attached a patch for sys-apps/apparmor-utils-3.1.4 that removes the Perl dependencies. I've only tested the patch for that version, but since the Perl requirements were lifted for version 3.0.0 it should also work for all other versions in the tree.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53de69d91fec670e97baa5add1127209147572f8 commit 53de69d91fec670e97baa5add1127209147572f8 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-26 19:47:43 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-26 19:49:24 +0000 sys-apps/apparmor-utils: drop obsolete Perl dependencies Quoting Han from the bug: """ All ebuilds for sys-apps/apparmor-utils currently in the tree depend on Perl and several Perl modules, but those dependencies are unnecessary because upstream has rewritten all utilities in Python. The last rewrite was before the 3.0.0 release (https://gitlab.com/apparmor/apparmor/-/commit/a74d7cf51cf5d87d5d362cb7dd279a0034029631) and the README since states "Perl is no longer needed since none of the utilities shipped to end users depend on it anymore." """ Closes: https://bugs.gentoo.org/909203 Signed-off-by: Sam James <sam@gentoo.org> ...ils-3.0.10.ebuild => apparmor-utils-3.0.10-r1.ebuild} | 16 ++++------------ ...utils-3.1.4.ebuild => apparmor-utils-3.1.4-r1.ebuild} | 16 ++++------------ 2 files changed, 8 insertions(+), 24 deletions(-)
Thanks! I dropped the PERLDIR usage too as that was using something set by perl_set_version.