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 1QZ59m-0004bG-Nx 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 B21CE1C022; 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 80DED1C01B 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 0C8EA2AC017 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 D597980040 for ; Tue, 21 Jun 2011 17:54:15 +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: <4733db7f432eb0f1c0c4b84ad16f488380aaa461.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/pkgcorepm.py X-VCS-Directories: PMSTestSuite/pm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4733db7f432eb0f1c0c4b84ad16f488380aaa461 Date: Tue, 21 Jun 2011 17:54:15 +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: 35fa39d6230499cfc29a47d045a9450c commit: 4733db7f432eb0f1c0c4b84ad16f488380aaa461 Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Tue Jun 21 16:52:22 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Tue Jun 21 16:52:22 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms-test-suit= e.git;a=3Dcommit;h=3D4733db7f pkgcore: don't do manifests any more. This removes the portage/repoman dependency, and userpriv needs. --- PMSTestSuite/pm/pkgcorepm.py | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/PMSTestSuite/pm/pkgcorepm.py b/PMSTestSuite/pm/pkgcorepm.py index 0e32814..1e99bac 100644 --- a/PMSTestSuite/pm/pkgcorepm.py +++ b/PMSTestSuite/pm/pkgcorepm.py @@ -11,14 +11,11 @@ import subprocess =20 from PMSTestSuite.repository import EbuildRepository -from PMSTestSuite.pm.portagepm import PortagePM +from PMSTestSuite.pm import PackageManager =20 -class PkgCorePM(PortagePM): +class PkgCorePM(PackageManager): """ A class implementing the interfaces to the pkgcore PM. -=09 - Right now it subclasses PortagePM because it needs repoman to do - the Manifests. """ name =3D 'pkgcore' pkg =3D 'sys-apps/pkgcore' @@ -90,4 +87,9 @@ class PkgCorePM(PortagePM): installed_cpvs &=3D set(cpvs) return installed_cpvs =20 - # portage's get_userpriv_group() required by repoman + # pkgcore can't do Manifests + def remanifest(self, *args): + pass + + def get_userpriv_group(self): + return None