summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-09 03:05:52 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-09 03:05:52 +0000
commit2d65fdca8d73cdee25da32e5a8654a766811588e (patch)
tree025ed3d51bda84fbaefce07628db2b72c356f47e
parent3b25eb9932a9ad8737dd242ee1bf30cdd415f83c (diff)
downloadportage-2d65fdca8d73cdee25da32e5a8654a766811588e.tar.gz
portage-2d65fdca8d73cdee25da32e5a8654a766811588e.tar.bz2
portage-2d65fdca8d73cdee25da32e5a8654a766811588e.zip
Remove unused depgraph.match() method.
svn path=/main/trunk/; revision=5233
-rwxr-xr-xbin/emerge32
1 files changed, 0 insertions, 32 deletions
diff --git a/bin/emerge b/bin/emerge
index 1df00966a..768fc23d2 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1720,38 +1720,6 @@ class depgraph:
return 1
- def match(self, mydep, myroot=None, mykey=None):
- # support mutual exclusive deps
- if myroot is None:
- myroot = self.target_root
- mydep2=mydep
- if mydep2[0]=="!":
- mydep2=mydep[1:]
-
- if mydep[0]=="!":
- #add our blocker; it will be ignored later if necessary (if we are remerging the same pkg, for example)
- myk="blocks "+myroot+" "+mydep2
- else:
- myeb = self.trees[myroot]["porttree"].dep_bestmatch(mydep2)
- if not myeb:
- if not mykey:
- print "\n!!! Error: couldn't find match for",mydep
- else:
- print "\n!!! Error: couldn't find match for",mydep,"in",mykey
- print
- sys.exit(1)
-
- if "--usepkg" in self.myopts:
- mypk = self.trees[myroot]["bintree"].dep_bestmatch(mydep)
- if myeb==mypk:
- myk = " ".join(("binary", myroot, mypk))
- else:
- myk = " ".join(("ebuild", myroot, myeb))
- else:
- myk="ebuild "+myroot+" "+myeb
-
- return myk
-
def display(self,mylist,verbosity=None):
if verbosity is None:
verbosity = ("--quiet" in self.myopts and 1 or \