diff options
| author | Rahul Sandhu <nvraxn@gmail.com> | 2025-11-28 21:44:33 +0000 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@gentoo.org> | 2025-12-08 17:43:08 -0500 |
| commit | def210fbcefe836009b58231acfc4da6906982b3 (patch) | |
| tree | 7df7ccf8cdcdd7c33a5de5d4c6f7e86055641751 /dev-python/python-json-logger | |
| parent | fc8e661decf9c46d7f44bcca9ffaa03e3980feed (diff) | |
| download | gentoo-def210fbcefe836009b58231acfc4da6906982b3.tar.gz gentoo-def210fbcefe836009b58231acfc4da6906982b3.tar.bz2 gentoo-def210fbcefe836009b58231acfc4da6906982b3.zip | |
selinux-policy-2.eclass: EAPI 8 bump, SELINUX_POLICY_TYPES USE expand
Currently, a manual rebuild using the `@selinux-rebuild` set is needed
upon update of the POLICY_TYPES variable. This means that portage can't
track changes to it with `emerge --changed-use`. By making POLICY_TYPES
the new USE expand, SELINUX_POLICY_TYPES, `--changed-use` will trigger
a rebuild upon changes to it.
However, make SELINUX_POLICY_TYPES different so that POLICY_TYPES, the
old variable remains intact for EAPI 7, providing backwards compat with
EAPI 7. This patch only bumps the eclass however; sec-policy/selinux-*
and other related ebuilds are to be migrated to EAPI 8 later. This also
gives us time to put out a news article for this migration.
Naming the new USE expand SELINUX_POLICY_TYPES also makes it inline
with eclass variables, such as SELINUX_GIT_REPO and SELINUX_GIT_BRANCH.
Also document why we parse IUSE instead of USE, and strip the possible
leading '+' so that IUSE="+foo" is interpreted as 'foo' and not '+foo'.
Bug: https://bugs.gentoo.org/951355
Signed-off-by: Rahul Sandhu <nvraxn@gmail.com>
Acked-by: Kenton Groombridge <concord@gentoo.org>
Acked-by: Sam James <sam@gentoo.org>
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-python/python-json-logger')
0 files changed, 0 insertions, 0 deletions
