commit: 5429bca875dd5d530f597d7ca5b84fcf1b748d8d
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 23:42:40 2024 +0000
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 00:34:45 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5429bca8
sys-apps/selinux-python: update EAPI 7 -> 8
Signed-off-by: Jason Zaman <perfinion <AT> gentoo.org>
sys-apps/selinux-python/selinux-python-9999.ebuild | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/sys-apps/selinux-python/selinux-python-9999.ebuild
b/sys-apps/selinux-python/selinux-python-9999.ebuild
index 79bfb3db2006..f772119ca1ee 100644
--- a/sys-apps/selinux-python/selinux-python-9999.ebuild
+++ b/sys-apps/selinux-python/selinux-python-9999.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI="8"
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_REQ_USE="xml(+)"
@@ -101,14 +101,17 @@ src_install() {
then
local selinuxtype=$(awk -F'=' '/^SELINUXTYPE/ {print $2}'
/etc/selinux/config);
mkdir -p "${D}"/etc/selinux || die "Failed to create selinux
directory";
- echo
"SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include:/usr/share/selinux/${selinuxtype}"
> "${D}"/etc/selinux/sepolgen.conf;
+ echo
"SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include:/usr/share/selinux/${selinuxtype}"
\
+ > "${D}"/etc/selinux/sepolgen.conf || die "Failed to
generate sepolgen"
else
local selinuxtype="${POLICY_TYPES%% *}";
if [[ -n "${selinuxtype}" ]];
then
- echo
"SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include:/usr/share/selinux/${selinuxtype}"
> "${D}"/etc/selinux/sepolgen.conf;
+ echo
"SELINUX_DEVEL_PATH=/usr/share/selinux/${selinuxtype}/include:/usr/share/selinux/${selinuxtype}"
\
+ > "${D}"/etc/selinux/sepolgen.conf || die
"Failed to generate sepolgen"
else
- echo
"SELINUX_DEVEL_PATH=/usr/share/selinux/strict/include:/usr/share/selinux/strict"
> "${D}"/etc/selinux/sepolgen.conf;
+ echo
"SELINUX_DEVEL_PATH=/usr/share/selinux/strict/include:/usr/share/selinux/strict"
\
+ > "${D}"/etc/selinux/sepolgen.conf || die
"Failed to generate sepolgen"
fi
fi
}