summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/UnmergeDepPriority.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pym/_emerge/UnmergeDepPriority.py b/pym/_emerge/UnmergeDepPriority.py
index c1c19c900..0f67f3b78 100644
--- a/pym/_emerge/UnmergeDepPriority.py
+++ b/pym/_emerge/UnmergeDepPriority.py
@@ -17,6 +17,11 @@ class UnmergeDepPriority(AbstractDepPriority):
SOFT = -2
MIN = -2
+ def __init__(self, **kwargs):
+ AbstractDepPriority.__init__(self, **kwargs)
+ if self.buildtime:
+ self.optional = True
+
def __int__(self):
if self.runtime:
return 0