commit:     b169bf26e1cde951a1b123d4a390a38694f18971
Author:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 14:26:49 2017 +0000
Commit:     Sven Vermeulen <swift <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 14:29:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b169bf26

sys-apps/selinux-python: Have dependency blocker on older policycoreutils 
versions

The selinux-python package can only be installed after policycoreutils has been
upgraded. To accomplish that, a PDEPEND was put in place in policycoreutils.
However, in some situations Portage does not want to use this ordering. This
is expected behavior, because PDEPEND does not necessarily mean that the
package manager has to install it afterwards - it is just a notion that the
order doesn't matter.

In this case, it does. So in order to ensure that the order is maintained,
we add in a blocker dependency on the older policycoreutils in selinux-python.

See also bug 622102

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild 
b/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild
index 8064324267b..3589860c4de 100644
--- a/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild
+++ b/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild
@@ -39,6 +39,7 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python]
        >=app-admin/setools-4.0
        dev-python/ipy[${PYTHON_USEDEP}]
        !dev-python/sepolgen
+       !<sys-apps/policycoreutils-2.7_rc1
        ${PYTHON_DEPS}"
 
 RDEPEND="${DEPEND}"

Reply via email to