i386 generator
This commit is contained in:
parent
da48e2ab4d
commit
3629c76bef
@ -25,13 +25,19 @@ def dependencies(cache, pkg, deps, key="Depends"):
|
|||||||
|
|
||||||
pkgname = sys.argv[1]
|
pkgname = sys.argv[1]
|
||||||
c = apt.Cache()
|
c = apt.Cache()
|
||||||
pkg = c[pkgname]
|
|
||||||
|
|
||||||
deps = set()
|
try:
|
||||||
|
pkg = c[pkgname]
|
||||||
|
|
||||||
deps = dependencies(c, pkg, deps, "Depends")
|
print("Parsing dep tree for: " + pkgname)
|
||||||
print(" ".join(deps))
|
|
||||||
|
|
||||||
preDeps = set()
|
deps = set()
|
||||||
preDeps = dependencies(c, pkg, preDeps, "PreDepends")
|
|
||||||
print(" ".join(preDeps))
|
deps = dependencies(c, pkg, deps, "Depends")
|
||||||
|
print(" ".join(deps))
|
||||||
|
|
||||||
|
preDeps = set()
|
||||||
|
preDeps = dependencies(c, pkg, preDeps, "PreDepends")
|
||||||
|
print(" ".join(preDeps))
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
Loading…
Reference in New Issue
Block a user