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