From 9e9457405c690bf26f4e884f3b47c06ea17cab8f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Mar 2008 04:58:21 +0000 Subject: [PATCH] Fix broke package.provided handling. svn path=/main/branches/2.1.2/; revision=9618 --- bin/emerge | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bin/emerge b/bin/emerge index 477bff713..15196cb72 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2063,6 +2063,11 @@ class depgraph: if not oneshot: myfavorites.append(myatom) for myarg, myatom in arg_atoms: + pprovided = pkgsettings.pprovideddict.get( + portage.dep_getkey(myatom)) + if pprovided and portage.match_from_list(myatom, pprovided): + self._pprovided_args.append((myarg, myatom)) + continue pkg, existing_node = self._select_package( myroot, myatom, onlydeps=onlydeps) if not pkg: @@ -3075,11 +3080,18 @@ class depgraph: self._set_atoms.add(myatom) for mydep in mylist: + pprovided = pkgsettings.pprovideddict.get( + portage.dep_getkey(mydep)) + if pprovided and portage.match_from_list(mydep, pprovided): + self._pprovided_args.append((mydep, mydep)) + continue + pkg, existing_node = self._select_package( self.target_root, mydep) if not pkg: self._missing_args.append(mydep) continue + if not self.create(pkg, None): print >> sys.stderr, "\n\n!!! Problem resolving dependencies for", mydep return 0 -- 2.26.2