1 |
commit: 2a3810b78b20f11b4e2e2f6aa0a5f7142ac68525 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 31 15:11:05 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 31 15:11:05 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pms-test-suite.git;a=commit;h=2a3810b7 |
7 |
|
8 |
Fix/reintroduce disabling Manifest checks for pkgcore. |
9 |
|
10 |
--- |
11 |
pmstestsuite/pm/pkgcorepm.py | 6 ++++++ |
12 |
1 files changed, 6 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/pmstestsuite/pm/pkgcorepm.py b/pmstestsuite/pm/pkgcorepm.py |
15 |
index 16da52e..e0f840f 100644 |
16 |
--- a/pmstestsuite/pm/pkgcorepm.py |
17 |
+++ b/pmstestsuite/pm/pkgcorepm.py |
18 |
@@ -48,6 +48,12 @@ class PkgCorePM(_PkgCorePM, PackageManager): |
19 |
def append_repository(self, repo): |
20 |
raise NotImplementedError('PkgCorePM does not support adding repositories yet.') |
21 |
|
22 |
+ def get_repository(self, repo): |
23 |
+ r = PackageManager.get_repository(self, repo) |
24 |
+ self.common_pmerge_opts.extend(['--add-config', |
25 |
+ r.path, 'allow_missing_manifests', 'True']) |
26 |
+ return r |
27 |
+ |
28 |
# pkgcore can't do Manifests |
29 |
def remanifest(self, *args): |
30 |
pass |