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 1QZ59o-0004bO-5H for garchives@archives.gentoo.org; Tue, 21 Jun 2011 17:54:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F0CD81C025; Tue, 21 Jun 2011 17:54:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C0B8F1C025 for ; Tue, 21 Jun 2011 17:54:17 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 506742AC01C for ; Tue, 21 Jun 2011 17:54:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0AF2C80048 for ; Tue, 21 Jun 2011 17:54:16 +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: <01f2d5d64b2e585f5277436e81cc7be13cf5ff56.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: 01f2d5d64b2e585f5277436e81cc7be13cf5ff56 Date: Tue, 21 Jun 2011 17:54:16 +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: 07c5169d5e5a094a7fa189eccd861cb6 commit: 01f2d5d64b2e585f5277436e81cc7be13cf5ff56 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Tue Jun 21 17:11:21 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Tue Jun 21 17:11:21 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms-test-suit= e.git;a=3Dcommit;h=3D01f2d5d6 portage: support ignoring Manifests (non-strict mode). Don't build binpkgs too. --- PMSTestSuite/pm/portagepm.py | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/PMSTestSuite/pm/portagepm.py b/PMSTestSuite/pm/portagepm.py index b681ce9..dc59cb2 100644 --- a/PMSTestSuite/pm/portagepm.py +++ b/PMSTestSuite/pm/portagepm.py @@ -39,16 +39,15 @@ class PortagePM(PackageManager): os.chdir(startdir) =20 def spawn_emerge(self, cpvs, opts =3D []): - kwargs =3D {} + env =3D copy.copy(os.environ) + env['FEATURES'] =3D '-buildpkg -strict' if self.repo_paths: - env =3D copy.copy(os.environ) env['PORTDIR_OVERLAY'] =3D ' '.join(self.repo_paths) - kwargs['env'] =3D env =20 return subprocess.Popen(['emerge'] + self.common_emerge_opts + opts + self.pm_options + ['=3D%s' % cpv for cpv in cpvs], - **kwargs) + env =3D env) =20 def _spawn_merge(self, cpvs): return self.spawn_emerge(cpvs)