Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms-test-suite:master commit in: PMSTestSuite/pm/
Date: Sun, 29 May 2011 18:57:38
Message-Id: eb3225fbda2b972f372bcdef63a83777f25d081e.mgorny@gentoo
1 commit: eb3225fbda2b972f372bcdef63a83777f25d081e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 29 18:42:05 2011 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 29 18:42:05 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=eb3225fb
7
8 Implement minimal PortagePM.merge().
9
10 ---
11 PMSTestSuite/pm/portage.py | 4 ++++
12 1 files changed, 4 insertions(+), 0 deletions(-)
13
14 diff --git a/PMSTestSuite/pm/portage.py b/PMSTestSuite/pm/portage.py
15 index c63fd49..8326856 100644
16 --- a/PMSTestSuite/pm/portage.py
17 +++ b/PMSTestSuite/pm/portage.py
18 @@ -30,3 +30,7 @@ class PortagePM(PackageManager):
19 for path in paths:
20 os.chdir(path)
21 subprocess.check_call([self.repoman_path, 'manifest'])
22 +
23 + def merge(self, atoms):
24 + ret = subprocess.call([self.emerge_path] + atoms)
25 + return ret == 0