From 32a10f09e7a641670c9691b8e6654af6cccde327 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 16 Feb 2008 00:43:21 +0000 Subject: Update the DepPriority documentation so that the table shows all the currently supported priorities and categories. svn path=/main/trunk/; revision=9338 --- pym/_emerge/__init__.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'pym/_emerge') 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: -- cgit v1.2.3-1-g7c22