| Index: pym/_emerge/DepPriority.py
|
| diff --git a/pym/_emerge/DepPriority.py b/pym/_emerge/DepPriority.py
|
| index f99b7264f5079ade9bcdfd5b8ef0c8b70caa72a2..b08ffe583f2db5092ffb84d7b1f907131ccc0aad 100644
|
| --- a/pym/_emerge/DepPriority.py
|
| +++ b/pym/_emerge/DepPriority.py
|
| @@ -4,7 +4,7 @@
|
| from _emerge.AbstractDepPriority import AbstractDepPriority
|
| class DepPriority(AbstractDepPriority):
|
|
|
| - __slots__ = ("satisfied", "optional", "rebuild")
|
| + __slots__ = ("satisfied", "optional", "rebuild", "ignored")
|
|
|
| def __int__(self):
|
| """
|
| @@ -24,17 +24,19 @@ class DepPriority(AbstractDepPriority):
|
|
|
| """
|
|
|
| + if self.optional:
|
| + return -3
|
| if self.buildtime:
|
| return 0
|
| if self.runtime:
|
| return -1
|
| if self.runtime_post:
|
| return -2
|
| - if self.optional:
|
| - return -3
|
| return -4
|
|
|
| def __str__(self):
|
| + if self.ignored:
|
| + return "ignored"
|
| if self.optional:
|
| return "optional"
|
| if self.buildtime:
|
|
|