1 |
commit: b737b77e6e0f8802c172d9424ed1f8942ea40d66 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 30 07:34:56 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 30 07:38:51 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b737b77e |
7 |
|
8 |
sys-apps/portage: add linux-info check for namespace support |
9 |
|
10 |
Bug: https://bugs.gentoo.org/673900 |
11 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
12 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
13 |
|
14 |
sys-apps/portage/portage-9999.ebuild | 10 ++++++++-- |
15 |
1 file changed, 8 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild |
18 |
index b1da4eee48b..a483b552444 100644 |
19 |
--- a/sys-apps/portage/portage-9999.ebuild |
20 |
+++ b/sys-apps/portage/portage-9999.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=6 |
27 |
@@ -10,7 +10,7 @@ PYTHON_COMPAT=( |
28 |
) |
29 |
PYTHON_REQ_USE='bzip2(+),threads(+)' |
30 |
|
31 |
-inherit distutils-r1 git-r3 systemd |
32 |
+inherit distutils-r1 git-r3 linux-info systemd |
33 |
|
34 |
DESCRIPTION="Portage is the package management and distribution system for Gentoo" |
35 |
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage" |
36 |
@@ -86,6 +86,12 @@ prefix_src_archives() { |
37 |
EGIT_REPO_URI="https://anongit.gentoo.org/git/proj/portage.git |
38 |
https://github.com/gentoo/portage.git" |
39 |
|
40 |
+pkg_pretend() { |
41 |
+ local CONFIG_CHECK="~IPC_NS ~PID_NS ~NET_NS" |
42 |
+ |
43 |
+ check_extra_config |
44 |
+} |
45 |
+ |
46 |
pkg_setup() { |
47 |
use epydoc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 ) |
48 |
} |