summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/main.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-10 11:01:36 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-10 11:01:36 -0700
commitf8e0c75e0952d04cb518ad0914ad440f1b43f52d (patch)
treecbaf8b62c650c418e7cdd5ad29ef45bd9b1f0458 /pym/_emerge/main.py
parent1a00bb2a24bed702ab0703540130d19d669191d0 (diff)
downloadportage-f8e0c75e0952d04cb518ad0914ad440f1b43f52d.tar.gz
portage-f8e0c75e0952d04cb518ad0914ad440f1b43f52d.tar.bz2
portage-f8e0c75e0952d04cb518ad0914ad440f1b43f52d.zip
Add emerge --dynamic-deps <y|n> option.
This makes it possible to disable the dynamic dependency updates that FakeVartree performs by default. WARNING: If --dynamic-deps is disabled, then it is necessary to ensure that an alternative method is used to handle package moves in dependencies of installed packages. Normally, this is handled by FEATURES="fixpackages", which is enabled by default and may be disabled via make.conf(5). Alternatively, in order to manually apply package moves, run `emaint --fix moveinst` after each emerge --sync operation (see emaint(1)).
Diffstat (limited to 'pym/_emerge/main.py')
-rw-r--r--pym/_emerge/main.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py
index f4ea36c7b..ed07c092d 100644
--- a/pym/_emerge/main.py
+++ b/pym/_emerge/main.py
@@ -684,6 +684,12 @@ def parse_opts(tmpcmdline, silent=False):
"choices" : true_y_or_n
},
+ "--dynamic-deps": {
+ "help": "substitute the dependencies of installed packages with the dependencies of unbuilt ebuilds",
+ "type": "choice",
+ "choices": y_or_n
+ },
+
"--exclude": {
"help" :"A space separated list of package names or slot atoms. " + \
"Emerge won't install any ebuild or binary package that " + \