diff options
Diffstat (limited to 'pym/_emerge/main.py')
-rw-r--r-- | pym/_emerge/main.py | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index c52a3eaab..efd954bb9 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -477,6 +477,7 @@ def insert_optional_args(args): '--package-moves' : y_or_n, '--quiet' : y_or_n, '--quiet-build' : y_or_n, + '--rebuild-if-new-slot-abi': y_or_n, '--rebuild-if-new-rev' : y_or_n, '--rebuild-if-new-ver' : y_or_n, '--rebuild-if-unbuilt' : y_or_n, @@ -746,6 +747,16 @@ def parse_opts(tmpcmdline, silent=False): "choices" : true_y_or_n }, + "--ignore-built-slot-abi-deps": { + "help": "Ignore the SLOT/ABI := operator parts of dependencies that have " + "been recorded when packages where built. This option is intended " + "only for debugging purposes, and it only affects built packages " + "that specify SLOT/ABI := operator dependencies using the " + "experimental \"4-slot-abi\" EAPI.", + "type": "choice", + "choices": y_or_n + }, + "--jobs": { "shortopt" : "-j", @@ -859,6 +870,15 @@ def parse_opts(tmpcmdline, silent=False): "choices" : true_y_or_n, }, + "--rebuild-if-new-slot-abi": { + "help" : ("Automatically rebuild or reinstall packages when SLOT/ABI := " + "operator dependencies can be satisfied by a newer slot, so that " + "older packages slots will become eligible for removal by the " + "--depclean action as soon as possible."), + "type" : "choice", + "choices" : true_y_or_n + }, + "--rebuild-if-new-rev": { "help" : "Rebuild packages when dependencies that are " + \ "used at both build-time and run-time are built, " + \ @@ -1100,6 +1120,9 @@ def parse_opts(tmpcmdline, silent=False): if myoptions.quiet_build in true_y: myoptions.quiet_build = 'y' + if myoptions.rebuild_if_new_slot_abi in true_y: + myoptions.rebuild_if_new_slot_abi = 'y' + if myoptions.rebuild_if_new_ver in true_y: myoptions.rebuild_if_new_ver = True else: |