Pass a Package instance into the config.setcpv() call.
authorZac Medico <zmedico@gentoo.org>
Fri, 31 Oct 2008 03:46:22 +0000 (03:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 31 Oct 2008 03:46:22 +0000 (03:46 -0000)
svn path=/main/trunk/; revision=11759

bin/repoman

index 660294c68397fdb7238403b941f11d0999f84dd6..98187970dfe39fc5fc5d199f2be5d4508aa84823 100755 (executable)
@@ -1468,7 +1468,7 @@ for x in scanlist:
                                portdb.mysettings = dep_settings
                                portdb.xcache = xcache
                                # for package.use.mask support inside dep_check
-                               dep_settings.setcpv("/".join((catdir, y)))
+                               dep_settings.setcpv(pkg)
                                dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
                                # just in case, prevent config.reset() from nuking these.
                                dep_settings.backup_changes("ACCEPT_KEYWORDS")