1 |
commit: b169bf26e1cde951a1b123d4a390a38694f18971 |
2 |
Author: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 18 14:26:49 2017 +0000 |
4 |
Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 18 14:29:36 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b169bf26 |
7 |
|
8 |
sys-apps/selinux-python: Have dependency blocker on older policycoreutils versions |
9 |
|
10 |
The selinux-python package can only be installed after policycoreutils has been |
11 |
upgraded. To accomplish that, a PDEPEND was put in place in policycoreutils. |
12 |
However, in some situations Portage does not want to use this ordering. This |
13 |
is expected behavior, because PDEPEND does not necessarily mean that the |
14 |
package manager has to install it afterwards - it is just a notion that the |
15 |
order doesn't matter. |
16 |
|
17 |
In this case, it does. So in order to ensure that the order is maintained, |
18 |
we add in a blocker dependency on the older policycoreutils in selinux-python. |
19 |
|
20 |
See also bug 622102 |
21 |
|
22 |
Package-Manager: Portage-2.3.5, Repoman-2.3.1 |
23 |
|
24 |
sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild | 1 + |
25 |
1 file changed, 1 insertion(+) |
26 |
|
27 |
diff --git a/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild b/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild |
28 |
index 8064324267b..3589860c4de 100644 |
29 |
--- a/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild |
30 |
+++ b/sys-apps/selinux-python/selinux-python-2.7_rc1.ebuild |
31 |
@@ -39,6 +39,7 @@ DEPEND=">=sys-libs/libselinux-${SELNX_VER}:=[python] |
32 |
>=app-admin/setools-4.0 |
33 |
dev-python/ipy[${PYTHON_USEDEP}] |
34 |
!dev-python/sepolgen |
35 |
+ !<sys-apps/policycoreutils-2.7_rc1 |
36 |
${PYTHON_DEPS}" |
37 |
|
38 |
RDEPEND="${DEPEND}" |