[yum-cvs] yum/yum depsolve.py,1.144,1.145
Seth Vidal
skvidal at linux.duke.edu
Fri Mar 23 07:41:39 UTC 2007
Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv2368
Modified Files:
depsolve.py
Log Message:
just a stub - need to fill it out tomorrow to act as a simplifier for
_checkRemove()
Index: depsolve.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/depsolve.py,v
retrieving revision 1.144
retrieving revision 1.145
diff -u -r1.144 -r1.145
--- depsolve.py 21 Mar 2007 19:02:35 -0000 1.144
+++ depsolve.py 23 Mar 2007 07:41:36 -0000 1.145
@@ -1225,6 +1225,15 @@
return ret
+ def _requiredByPkg(self, prov):
+ """check to see if anything will or does require the provide, return
+ list of requiring pkg objects if so"""
+
+ # check if anything installed needs it
+ # make sure installed item is not set to be removed/obsoleted
+ # make sure nothing else provides the same thing just as well
+ # check if anything in the ts set to be installed/updated requires it
+ # make sure nothing else provides the same thing just as well
class DepCheck(object):
"""object that YumDepsolver uses to see what things are needed to close
More information about the Yum-cvs-commits
mailing list