Lines Matching refs:dep
56 def recurse(obj, dep, visited):
58 if dep in visited:
60 % (dep.filename, dep.lineno))
66 visited.append(dep)
67 for upper in dep.uppers:
72 self.parts = [(dep.lower.split('.'),dep) for dep in deps.itervalues()]
74 for dep in deps.itervalues():
75 recurse(dep, dep, [])
77 for dep in deps.itervalues():
78 if dep.lowlevel:
80 if dep != d and not d.legacy:
81 dep.transitive.add(d.lower)
83 for dep in deps.itervalues():
84 if dep.top and not dep.legacy:
86 if dep != d and not d.legacy:
87 d.transitive.add(dep.lower)
88 for dep in deps.itervalues():
89 dep.transitive = set([x+"." for x in dep.transitive])
91 for dep in deps.itervalues():
92 print "-->", dep.lower, "-->", dep.transitive
94 # Lookup the dep object for the given package. If pkg is a subpackage
111 for (parts,dep) in self.parts:
115 result = dep
155 dep = deps[lower]
156 if dep.top:
161 dep = Dependency(filename, n, lower, False, False, False)
162 deps[lower] = dep
163 dep.uppers.append(upper)
223 dep = deps.lookup(pkg)
224 if not dep:
230 if dep.matches(imp):