diff options
author | 2015-02-21 12:13:07 -0500 | |
---|---|---|
committer | 2015-02-21 12:13:07 -0500 | |
commit | e6b75f5a4b9b32d7ea5a3ed80d3ec8e94e890b97 (patch) | |
tree | 33836830b341249c7234f73d2e89624cafcd8ade | |
parent | profiles: expand valid USE_EXPAND flags for IUSE_EFFECTIVE in EAPI < 5 (diff) | |
download | pkgcore-onlydeps.tar.gz pkgcore-onlydeps.tar.bz2 pkgcore-onlydeps.zip |
pmerge: initial -o/--onlydeps supportonlydeps
-rw-r--r-- | pkgcore/scripts/pmerge.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgcore/scripts/pmerge.py b/pkgcore/scripts/pmerge.py index 3b34a1ac6..cde757ae6 100644 --- a/pkgcore/scripts/pmerge.py +++ b/pkgcore/scripts/pmerge.py @@ -119,6 +119,9 @@ resolution_options.add_argument( '-O', '--nodeps', action='store_true', help='disable dependency resolution') resolution_options.add_argument( + '-o', '--onlydeps', action='store_true', + help='only consider target dependencies and not targets themselves') +resolution_options.add_argument( '-n', '--noreplace', action='store_false', dest='replace', help="don't reinstall target atoms if they're already installed") resolution_options.add_argument( @@ -411,6 +414,11 @@ def main(options, out, err): resolver.plan.limiters.add(None) domain = options.domain + + if options.onlydeps: + # create fake vdb here for hidden pkgs and append to domain.vdbs + pass + livefs_repos = domain.all_livefs_repos world_set = world_list = options.world if options.oneshot: |