sec-policy/selinux-base: use python-any-r1 (needs Python to generate XML)

Noticed after checking downstream for any changes we should pick up:
https://github.com/flatcar-linux/coreos-overlay/commit/3086ea99010fc51cced60a7badc572feaaf551f6.

Closes: https://bugs.gentoo.org/770901
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-11-02 14:50:17 +00:00
parent d112144144
commit e95da4d04a
2 changed files with 10 additions and 0 deletions
@@ -3,6 +3,10 @@
EAPI="7"
PYTHON_COMPAT=( python3_{8,9,10} )
PYTHON_REQ_USE="xml"
inherit python-any-r1
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="${SELINUX_GIT_REPO:-https://anongit.gentoo.org/git/proj/hardened-refpolicy.git}"
EGIT_BRANCH="${SELINUX_GIT_BRANCH:-master}"
@@ -26,6 +30,7 @@ SLOT="0"
RDEPEND=">=sys-apps/policycoreutils-2.8"
DEPEND="${RDEPEND}"
BDEPEND="
${PYTHON_DEPS}
>=sys-apps/checkpolicy-2.8
sys-devel/m4"
@@ -3,6 +3,10 @@
EAPI="7"
PYTHON_COMPAT=( python3_{8,9,10} )
PYTHON_REQ_USE="xml"
inherit python-any-r1
if [[ ${PV} == 9999* ]]; then
EGIT_REPO_URI="${SELINUX_GIT_REPO:-https://anongit.gentoo.org/git/proj/hardened-refpolicy.git}"
EGIT_BRANCH="${SELINUX_GIT_BRANCH:-master}"
@@ -26,6 +30,7 @@ SLOT="0"
RDEPEND=">=sys-apps/policycoreutils-2.8"
DEPEND="${RDEPEND}"
BDEPEND="
${PYTHON_DEPS}
>=sys-apps/checkpolicy-2.8
sys-devel/m4"