I have noticed that the arch profile directories (profiles/arch/$ARCH)
are not EAPI 5 capable. These profiles are inherited by both the default
and hardened profiles and contain arch-specific settings. They are often
used to override masks set in the base profile.

The base profile already has an EAPI 5 equivalent in profiles/eapi-5-files.

I would like to add use.stable.mask to the arch profiles to avoid
duplicating entries in profiles/default/linux/$ARCH/13.0/use.stable.mask
and profiles/hardened/linux/$ARCH/use.stable.mask. This would make
future stabilizations of dev-lang/python easier to coordinate. [1]

Is it acceptable to just bump eapi to 5 in the existing arch profiles?
This would render the default/linux/$ARCH/10.0 profiles unusable in old
version of portage.

Here are a couple of alternatives:

1. Add profiles/eapi-5-files/$ARCH.
2. Add profiles/$ARCH/eapi-5-files.

In either case, the default (13.0) and hardened profiles would be
adjusted to inherit these.

Which option do we prefer? Is there a better option?

[1] https://bugs.gentoo.org/show_bug.cgi?id=474128#c33

Reply via email to