Update the DepPriority documentation so that the table shows all the
authorZac Medico <zmedico@gentoo.org>
Sat, 16 Feb 2008 00:43:21 +0000 (00:43 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 16 Feb 2008 00:43:21 +0000 (00:43 -0000)
currently supported priorities and categories.

svn path=/main/trunk/; revision=9338

pym/_emerge/__init__.py

index c0058fca2c68525f45237de6c9a6273fcd14a440..ab9681e0ec13e09826978555700605488ab420dc 100644 (file)
@@ -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: