aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Erdmann <dywi@mailerd.de>2014-07-18 04:23:31 +0200
committerAndré Erdmann <dywi@mailerd.de>2014-07-18 04:23:31 +0200
commit9c4859591aa5d5388c192f932f3e4d8a1344e57d (patch)
treeba1daba926fede3b48fd838d193ae3218fb2cff2
parentroverlay/overlay/pkgdir/packagedir_base: fix import (diff)
downloadR_overlay-9c4859591aa5d5388c192f932f3e4d8a1344e57d.tar.gz
R_overlay-9c4859591aa5d5388c192f932f3e4d8a1344e57d.tar.bz2
R_overlay-9c4859591aa5d5388c192f932f3e4d8a1344e57d.zip
roverlay/overlay/abccontrol: comment
-rw-r--r--roverlay/overlay/abccontrol.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/roverlay/overlay/abccontrol.py b/roverlay/overlay/abccontrol.py
index a319e35..991343e 100644
--- a/roverlay/overlay/abccontrol.py
+++ b/roverlay/overlay/abccontrol.py
@@ -81,6 +81,10 @@ class AdditionControlResult ( object ):
PKG_ALL,
) = _gen_bits(5)
+## # virtuals
+## PKG_REVBUMP_ONLY = PKG_REVBUMP_ON_COLLISION|PKG_REPLACE_ONLY
+## PKG_FORCE_REPLACE_ONLY = PKG_FORCE_REPLACE|PKG_REPLACE_ONLY
+
PKG_DESCRIPTION_MAP = {
PKG_FORCE_DENY : 'force-deny',
@@ -89,6 +93,10 @@ class AdditionControlResult ( object ):
PKG_REPLACE_ONLY : 'replace-only',
PKG_REVBUMP_ON_COLLISION : 'revbump-on-collision',
PKG_DEFAULT_BEHAVIOR : 'default',
+
+## # virtuals
+## PKG_REVBUMP_ONLY : 'revbump-on-collision,replace-only',
+## PKG_FORCE_REPLACE_ONLY : 'force-replace,replace-only',
}
PKG_DESCRIPTION_REVMAP = { v: k for k,v in PKG_DESCRIPTION_MAP.items() }