public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:prefix commit in: pym/portage/package/ebuild/
Date: Fri, 23 Dec 2011 11:04:31 +0000 (UTC)	[thread overview]
Message-ID: <8d1a3a68990967c3f8d6caa897cb90bb617eeba4.grobian@gentoo> (raw)

commit:     8d1a3a68990967c3f8d6caa897cb90bb617eeba4
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 23 11:01:28 2011 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Dec 23 11:01:28 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=8d1a3a68

spawn: fix Python syntax and so on

---
 pym/portage/package/ebuild/doebuild.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py
index 083e0ce..194cdbf 100644
--- a/pym/portage/package/ebuild/doebuild.py
+++ b/pym/portage/package/ebuild/doebuild.py
@@ -18,6 +18,7 @@ from textwrap import wrap
 import time
 import warnings
 import zlib
+import platform
 
 import portage
 portage.proxy.lazyimport.lazyimport(globals(),
@@ -1409,7 +1410,7 @@ def spawn(mystring, mysettings, debug=0, free=0, droppriv=0, sesandbox=0, fakero
 		keywords["opt_name"] += " fakeroot"
 		keywords["fakeroot_state"] = os.path.join(mysettings["T"], "fakeroot.state")
 		spawn_func = portage.process.spawn_fakeroot
-	elif sandbox and platform.system() == 'Darwin':
+	elif "sandbox" in features and platform.system() == 'Darwin':
 		keywords["opt_name"] += " macossandbox"
 		sbprefixpath = mysettings["PORTAGE_BUILDDIR"]
 



             reply	other threads:[~2011-12-23 11:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-23 11:04 Fabian Groffen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-25 19:32 [gentoo-commits] proj/portage:prefix commit in: pym/portage/package/ebuild/ Fabian Groffen
2015-06-09 19:53 Fabian Groffen
2015-06-09 19:53 Fabian Groffen
2014-02-04 20:29 Fabian Groffen
2013-12-15  7:56 Fabian Groffen
2012-02-09  8:16 Fabian Groffen
2011-12-23 11:04 Fabian Groffen
2011-12-10 12:55 Fabian Groffen
2011-12-02 20:27 Fabian Groffen
2011-02-05 12:25 Fabian Groffen
2011-02-05 12:25 Fabian Groffen

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=8d1a3a68990967c3f8d6caa897cb90bb617eeba4.grobian@gentoo \
    --to=grobian@gentoo.org \
    --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