public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Sachau" <tommy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/portage:multilib commit in: bin/, pym/_emerge/
Date: Sat, 18 Feb 2012 16:11:00 +0000 (UTC)	[thread overview]
Message-ID: <1329581446.5da82edbe654f78a6c7865ca87ac6d5b72c984ff.tommy@gentoo> (raw)

commit:     5da82edbe654f78a6c7865ca87ac6d5b72c984ff
Author:     Thomas Sachau <tommy <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 18 16:10:46 2012 +0000
Commit:     Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Sat Feb 18 16:10:46 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=5da82edb

Remove unused attributes

---
 bin/auto-multilib.sh          |    6 +++++-
 pym/_emerge/EbuildExecuter.py |    8 ++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/bin/auto-multilib.sh b/bin/auto-multilib.sh
index aa65d39..db49c52 100755
--- a/bin/auto-multilib.sh
+++ b/bin/auto-multilib.sh
@@ -124,7 +124,11 @@ get_abi_order() {
 	fi
 
 	if [ -z "${order}" ]; then
-		die "Could not determine your profile ABI(s).  Perhaps your USE flags or MULTILIB_ABIS are too restrictive for this package or your profile does not set DEFAULT_ABI."
+		if ! [ -z "${DEFAULT_ABI}" ]; then
+			order=${DEFAULT_ABI}
+		else
+			die "Could not determine your profile ABI(s).  Perhaps your USE flags or MULTILIB_ABIS are too restrictive for this package or your profile does not set DEFAULT_ABI."
+		fi
 	fi
 
 	echo ${order}

diff --git a/pym/_emerge/EbuildExecuter.py b/pym/_emerge/EbuildExecuter.py
index b340f09..6591ee5 100644
--- a/pym/_emerge/EbuildExecuter.py
+++ b/pym/_emerge/EbuildExecuter.py
@@ -109,9 +109,13 @@ class EbuildExecuter(CompositeTask):
 			# This initializes PORTAGE_LOG_FILE.
 			portage.prepare_build_dirs(pkg.root, settings, cleanup)
 
+		setup_phase = EbuildPhase(background=self.background,
+			phase="setup", scheduler=scheduler,
+			settings=settings)
+
 			setup_phase = EbuildPhase(background=self.background,
-				pkg=pkg, phase="setup", scheduler=scheduler,
-				settings=settings, tree=self)
+				phase="setup", scheduler=scheduler,
+				settings=settings)
 
 			setup_phase.addExitListener(self._setup_exit)
 			self._current_task = setup_phase



             reply	other threads:[~2012-02-18 16:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-18 16:11 Thomas Sachau [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-04-30 14:01 [gentoo-commits] proj/portage:multilib commit in: bin/, pym/_emerge/ Thomas Sachau

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=1329581446.5da82edbe654f78a6c7865ca87ac6d5b72c984ff.tommy@gentoo \
    --to=tommy@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