From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RaXCU-0006Hs-9y for garchives@archives.gentoo.org; Tue, 13 Dec 2011 18:35:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94861E081C; Tue, 13 Dec 2011 18:35:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 646D3E081C for ; Tue, 13 Dec 2011 18:35:30 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DAB961B401F for ; Tue, 13 Dec 2011 18:35:29 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 065FC8004A for ; Tue, 13 Dec 2011 18:35:29 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/AbstractEbuildProcess.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a628147b632ad8b33296f5698d30410854cf1d75 Date: Tue, 13 Dec 2011 18:35:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: bd71ed0d-3749-482e-bfce-1e7895730f20 X-Archives-Hash: 86332b650ae12d1984909d802352be98 commit: a628147b632ad8b33296f5698d30410854cf1d75 Author: Zac Medico gentoo org> AuthorDate: Tue Dec 13 18:35:19 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Dec 13 18:35:19 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Da628147b AbstractEbuildProcess: interactive pkg_config --- pym/_emerge/AbstractEbuildProcess.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/pym/_emerge/AbstractEbuildProcess.py b/pym/_emerge/AbstractE= buildProcess.py index 6e1491b..63368d4 100644 --- a/pym/_emerge/AbstractEbuildProcess.py +++ b/pym/_emerge/AbstractEbuildProcess.py @@ -21,6 +21,7 @@ class AbstractEbuildProcess(SpawnProcess): __slots__ =3D ('phase', 'settings',) + \ ('_build_dir', '_ipc_daemon', '_exit_command',) _phases_without_builddir =3D ('clean', 'cleanrm', 'depend', 'help',) + _phases_interactive_whitelist =3D ('config',) =20 # Number of milliseconds to allow natural exit of the ebuild # process after it has called the exit command via IPC. It @@ -96,6 +97,7 @@ class AbstractEbuildProcess(SpawnProcess): self.fd_pipes =3D {} null_fd =3D None if 0 not in self.fd_pipes and \ + self.phase not in self._phases_interactive_whitelist and \ "interactive" not in self.settings.get("PROPERTIES", "").split(): null_fd =3D os.open('/dev/null', os.O_RDONLY) self.fd_pipes[0] =3D null_fd