From a628147b632ad8b33296f5698d30410854cf1d75 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 13 Dec 2011 10:35:19 -0800 Subject: AbstractEbuildProcess: interactive pkg_config --- pym/_emerge/AbstractEbuildProcess.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pym') diff --git a/pym/_emerge/AbstractEbuildProcess.py b/pym/_emerge/AbstractEbuildProcess.py index 6e1491bbe..63368d4af 100644 --- a/pym/_emerge/AbstractEbuildProcess.py +++ b/pym/_emerge/AbstractEbuildProcess.py @@ -21,6 +21,7 @@ class AbstractEbuildProcess(SpawnProcess): __slots__ = ('phase', 'settings',) + \ ('_build_dir', '_ipc_daemon', '_exit_command',) _phases_without_builddir = ('clean', 'cleanrm', 'depend', 'help',) + _phases_interactive_whitelist = ('config',) # 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 = {} null_fd = 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 = os.open('/dev/null', os.O_RDONLY) self.fd_pipes[0] = null_fd -- cgit v1.2.3-1-g7c22