From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QRUT9-0004CS-7s for garchives@archives.gentoo.org; Tue, 31 May 2011 19:19:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BF2AB1C15F; Tue, 31 May 2011 19:18:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 91C501C15F for ; Tue, 31 May 2011 19:18:58 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2EEA11B4029 for ; Tue, 31 May 2011 19:18:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 82A548050B for ; Tue, 31 May 2011 19:18:57 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <420241209ece14404946645b9675c953322c29d8.mgorny@gentoo> Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/pm/ X-VCS-Repository: proj/pms-test-suite X-VCS-Files: PMSTestSuite/pm/portagepm.py X-VCS-Directories: PMSTestSuite/pm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 420241209ece14404946645b9675c953322c29d8 Date: Tue, 31 May 2011 19:18:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: d6f7b6f8687b361a0ea590ba73487e0d commit: 420241209ece14404946645b9675c953322c29d8 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Tue May 31 19:15:34 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Tue May 31 19:15:34 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms-test-suit= e.git;a=3Dcommit;h=3D42024120 Add a few defaults options to emerge. --- PMSTestSuite/pm/portagepm.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/PMSTestSuite/pm/portagepm.py b/PMSTestSuite/pm/portagepm.py index 768ff23..e1ad442 100644 --- a/PMSTestSuite/pm/portagepm.py +++ b/PMSTestSuite/pm/portagepm.py @@ -14,6 +14,8 @@ class PortagePM(PackageManager): emerge_path =3D '/usr/bin/emerge' repoman_path =3D '/usr/bin/repoman' =20 + common_emerge_opts =3D ['--ask', 'n', '--keep-going'] + repo_paths =3D [] =20 @classmethod @@ -36,7 +38,8 @@ class PortagePM(PackageManager): os.chdir(startdir) =20 def spawn_emerge(self, cpvs, opts =3D []): - return subprocess.Popen([self.emerge_path] + opts + self.pm_options + return subprocess.Popen([self.emerge_path] + + self.common_emerge_opts + opts + self.pm_options + ['=3D%s' % cpv for cpv in cpvs], env =3D {'PORTDIR_OVERLAY': ' '.join(self.repo_paths)}) =20