commit: 17734d2bbf5d910affd6481137abe27512a996f0
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri May 25 19:31:26 2018 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri May 25 19:31:26 2018 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=17734d2b
ResolverPlayground: fix binpgk creation for Prefix
Set EPREFIX metadata properties for binpkgs, such that they are not
masked due to EPREFIX size mismatch.
pym/portage/tests/resolver/ResolverPlayground.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/pym/portage/tests/resolver/ResolverPlayground.py
b/pym/portage/tests/resolver/ResolverPlayground.py
index e2e061669..165dd09a8 100644
--- a/pym/portage/tests/resolver/ResolverPlayground.py
+++ b/pym/portage/tests/resolver/ResolverPlayground.py
@@ -233,6 +233,7 @@ class ResolverPlayground(object):
metadata["repository"] = repo
metadata["CATEGORY"] = cat
metadata["PF"] = pf
+ metadata["EPREFIX"] = self.eprefix
repo_dir = self.pkgdir
category_dir = os.path.join(repo_dir, cat)