public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Александр Берсенев" <bay@hackerdom.ru>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/autodep:master commit in: src/autodep/
Date: Wed,  3 Aug 2011 21:12:03 +0000 (UTC)	[thread overview]
Message-ID: <08dac81f1c402b16b264a1eff221719f69daac83.bay@gentoo> (raw)

commit:     08dac81f1c402b16b264a1eff221719f69daac83
Author:     Alexander Bersenev <bay <AT> hackerdom <DOT> ru>
AuthorDate: Thu Aug  4 03:11:12 2011 +0000
Commit:     Александр Берсенев <bay <AT> hackerdom <DOT> ru>
CommitDate: Thu Aug  4 03:11:12 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/autodep.git;a=commit;h=08dac81f

allowing all dependencies of portage package

---
 src/autodep/autodep |    4 +++-
 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)
 	



                 reply	other threads:[~2011-08-03 21:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=08dac81f1c402b16b264a1eff221719f69daac83.bay@gentoo \
    --to=bay@hackerdom.ru \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox