summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/__init__.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index f9304dd72..7ef69a969 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -9269,8 +9269,8 @@ class Scheduler(PollScheduler):
return interactive_tasks
def _set_digraph(self, digraph):
- if self._max_jobs is not True and \
- self._max_jobs < 2:
+ if "--nodeps" in self.myopts or \
+ (self._max_jobs is not True and self._max_jobs < 2):
# save some memory
self._digraph = None
return
@@ -9908,7 +9908,8 @@ class Scheduler(PollScheduler):
return None
if self._digraph is None:
- if self._jobs or self._task_queues.merge:
+ if (self._jobs or self._task_queues.merge) and \
+ "--nodeps" not in self.myopts:
self._choose_pkg_return_early = True
return None
return self._pkg_queue.pop(0)