diff --git a/sys-apps/selinux-python/selinux-python-3.11-r1.ebuild b/sys-apps/selinux-python/selinux-python-3.11-r1.ebuild index deceea1549fa9..b095e1ea60a07 100644 --- a/sys-apps/selinux-python/selinux-python-3.11-r1.ebuild +++ b/sys-apps/selinux-python/selinux-python-3.11-r1.ebuild @@ -82,6 +82,7 @@ python_test() { # PYTHONPATH, so they get actually found and used. In # particular, already installed versions on the system are not # used. + local dir for dir in audit2allow chcat semanage sepolgen/src sepolicy ; do PYTHONPATH="${S}/${dir}:${PYTHONPATH}" done diff --git a/sys-apps/selinux-python/selinux-python-9999.ebuild b/sys-apps/selinux-python/selinux-python-9999.ebuild index deceea1549fa9..b095e1ea60a07 100644 --- a/sys-apps/selinux-python/selinux-python-9999.ebuild +++ b/sys-apps/selinux-python/selinux-python-9999.ebuild @@ -82,6 +82,7 @@ python_test() { # PYTHONPATH, so they get actually found and used. In # particular, already installed versions on the system are not # used. + local dir for dir in audit2allow chcat semanage sepolgen/src sepolicy ; do PYTHONPATH="${S}/${dir}:${PYTHONPATH}" done