commit:     3e523dd62bbd003b083ef9e4795acaaf776be45e
Author:     Alfred Wingate <parona <AT> protonmail <DOT> com>
AuthorDate: Tue Dec 23 00:49:57 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 23 13:11:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e523dd6

sys-apps/selinux-python: fix python multi target build for merged-usr

Closes: https://bugs.gentoo.org/967869
Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{selinux-python-3.8.1-r1.ebuild => selinux-python-3.8.1-r2.ebuild} | 3 +++
 sys-apps/selinux-python/selinux-python-9999.ebuild                     | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-apps/selinux-python/selinux-python-3.8.1-r1.ebuild 
b/sys-apps/selinux-python/selinux-python-3.8.1-r2.ebuild
similarity index 96%
rename from sys-apps/selinux-python/selinux-python-3.8.1-r1.ebuild
rename to sys-apps/selinux-python/selinux-python-3.8.1-r2.ebuild
index 3563323c8d24..ff3ad8d7b4fa 100644
--- a/sys-apps/selinux-python/selinux-python-3.8.1-r1.ebuild
+++ b/sys-apps/selinux-python/selinux-python-3.8.1-r2.ebuild
@@ -108,6 +108,9 @@ python_install() {
        python_scriptinto /usr/sbin
        python_doscript "${S}"/semanage/semanage
 
+       # set _PYTHON_SCRIPTROOT to the implicit default for the next python 
target, bug #967869
+       python_scriptinto /usr/bin
+
        python_optimize
 }
 

diff --git a/sys-apps/selinux-python/selinux-python-9999.ebuild 
b/sys-apps/selinux-python/selinux-python-9999.ebuild
index 8494c512d766..922028abdb5e 100644
--- a/sys-apps/selinux-python/selinux-python-9999.ebuild
+++ b/sys-apps/selinux-python/selinux-python-9999.ebuild
@@ -108,6 +108,9 @@ python_install() {
        python_scriptinto /usr/sbin
        python_doscript "${S}"/semanage/semanage
 
+       # set _PYTHON_SCRIPTROOT to the implicit default for the next python 
target, bug #967869
+       python_scriptinto /usr/bin
+
        python_optimize
 }
 

Reply via email to