diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-12-13 21:21:33 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-12-13 21:21:33 +0000 |
commit | dec44665f91e1ba78573ae95f6585e5a293916a0 (patch) | |
tree | 2b007a80d5d3d013941130a3dba83b3e69f5d9d5 | |
parent | 1e06bf675b9bcfaf29947db7810026fbdc9dd07b (diff) | |
download | portage-dec44665f91e1ba78573ae95f6585e5a293916a0.tar.gz portage-dec44665f91e1ba78573ae95f6585e5a293916a0.tar.bz2 portage-dec44665f91e1ba78573ae95f6585e5a293916a0.zip |
Add --buildpkgonly to the options lists that exempt from
slot collisions and world file updates.
svn path=/main/trunk/; revision=8917
-rw-r--r-- | pym/_emerge/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index a6480530a..22bf73f96 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2795,7 +2795,8 @@ class depgraph(object): def _accept_collisions(self): acceptable = False - for x in ("--nodeps", "--pretend", "--fetchonly", "--fetch-all-uri"): + for x in ("--buildpkgonly", "--fetchonly", + "--fetch-all-uri", "--nodeps", "--pretend"): if x in self.myopts: acceptable = True break @@ -3850,7 +3851,7 @@ class depgraph(object): def saveNomergeFavorites(self): """Find atoms in favorites that are not in the mergelist and add them to the world file if necessary.""" - for x in ("--fetchonly", "--fetch-all-uri", + for x in ("--buildpkgonly", "--fetchonly", "--fetch-all-uri", "--oneshot", "--onlydeps", "--pretend"): if x in self.myopts: return |