From eae98cf5e150d0c65ed2d7f55bf0f4d01b3dfdbb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 17 Oct 2012 20:02:26 -0700 Subject: [PATCH] StaticFileSet: fix for EAPI 5 sub-slot in SLOT --- pym/portage/_sets/files.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/_sets/files.py b/pym/portage/_sets/files.py index b891ea4f4..b839582df 100644 --- a/pym/portage/_sets/files.py +++ b/pym/portage/_sets/files.py @@ -86,8 +86,8 @@ class StaticFileSet(EditablePackageSet): for a in data: matches = self.dbapi.match(a) for cpv in matches: - atoms.append("%s:%s" % (cpv_getkey(cpv), - self.dbapi.aux_get(cpv, ["SLOT"])[0])) + pkg = self.dbapi._pkg_str(cpv, None) + atoms.append("%s:%s" % (pkg.cp, pkg.slot)) # In addition to any installed slots, also try to pull # in the latest new slot that may be available. atoms.append(a) -- 2.26.2