When building a standalone pisi package, only the first

unsatisfied runtime dependency was resolved.

This is now fixed by comparing the package names instead of
dependency object references.
This commit is contained in:
Ozan Çağlayan
2008-09-10 10:41:43 +00:00
parent f4c4dffa3b
commit 2dfde21b88
+1 -1
View File
@@ -126,7 +126,7 @@ def install_pkg_files(package_URIs):
pkg = d_t[name]
deps = pkg.runtimeDependencies()
for dep in deps:
if not satisfiesDep(dep) and dep not in dep_unsatis:
if not satisfiesDep(dep) and dep.package not in [x.package for x in dep_unsatis]:
dep_unsatis.append(dep)
# now determine if these unsatisfied dependencies could