summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-02-16 00:43:21 +0000
committerZac Medico <zmedico@gentoo.org>2008-02-16 00:43:21 +0000
commit32a10f09e7a641670c9691b8e6654af6cccde327 (patch)
treeb748184c3461796b7136e439ef63df9014d50380
parent6bb42a2cbaa089ca6ee2f134a742551d5a00d9e8 (diff)
downloadportage-32a10f09e7a641670c9691b8e6654af6cccde327.tar.gz
portage-32a10f09e7a641670c9691b8e6654af6cccde327.tar.bz2
portage-32a10f09e7a641670c9691b8e6654af6cccde327.zip
Update the DepPriority documentation so that the table shows all the
currently supported priorities and categories. svn path=/main/trunk/; revision=9338
-rw-r--r--pym/_emerge/__init__.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index c0058fca2..ab9681e0e 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -836,13 +836,16 @@ class DepPriority(object):
"buildtime", "runtime", and "system". Various combinations of
attributes lead to the following priority levels:
- Combination of properties Priority level
-
- not satisfied and buildtime 0
- not satisfied and runtime -1
- satisfied and buildtime -2
- satisfied and runtime -3
- (none of the above) -4
+ Combination of properties Priority Category
+
+ not satisfied and buildtime 0 HARD
+ not satisfied and runtime -1 MEDIUM
+ not satisfied and runtime_post -2 MEDIUM_SOFT
+ satisfied and buildtime and rebuild -3 SOFT
+ satisfied and buildtime -4 SOFT
+ satisfied and runtime -5 SOFT
+ satisfied and runtime_post -6 SOFT
+ (none of the above) -6 SOFT
Several integer constants are defined for categorization of priority
levels: