aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bersenev <bay@hackerdom.ru>2011-08-04 03:11:12 +0000
committerAlexander Bersenev <bay@hackerdom.ru>2011-08-04 03:11:12 +0000
commit08dac81f1c402b16b264a1eff221719f69daac83 (patch)
tree888c9cc83baa05a04fc1db02e33dea124a9a1885
parentfusefs: hiding blocked files in directory listings, tests updated (diff)
downloadautodep-08dac81f1c402b16b264a1eff221719f69daac83.tar.gz
autodep-08dac81f1c402b16b264a1eff221719f69daac83.tar.bz2
autodep-08dac81f1c402b16b264a1eff221719f69daac83.zip
allowing all dependencies of portage package
-rwxr-xr-xsrc/autodep/autodep4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/autodep/autodep b/src/autodep/autodep
index 45f4a5b..751dca7 100755
--- a/src/autodep/autodep
+++ b/src/autodep/autodep
@@ -105,6 +105,8 @@ def get_filter_function(options,system_packages,portage_api):
allowedpkgs=[]
allowedpkgs+=system_packages
if runtime_vars["is_emerge"]: # blocking logic for emerge
+ # including all dependencies of portage
+ allowedpkgs+=list(portage_api.get_deps('portage'))
(emergeaction ,emergeopts, emergefiles)=runtime_vars["emerge_parameters"]
if len(emergefiles)>1:
print "You can't install several packages with option -b"
@@ -135,7 +137,7 @@ def get_filter_function(options,system_packages,portage_api):
# manually add all python interpreters to this list
allowedfiles+=portage_utils.getfilesbypackage('python')
# manually add sandbox to this list
- allowedfiles+=portage_utils.getfilesbypackage('sandbox')
+ #allowedfiles+=portage_utils.getfilesbypackage('sandbox')
allowedfiles=set(allowedfiles)