Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=66eff97ef648911c3a3d53856704155ba8287e15
commit 66eff97ef648911c3a3d53856704155ba8287e15 Author: Melko <[email protected]> Date: Tue Jan 28 18:34:03 2014 +0100 chkdep: early exclusion to avoid circular dependencies diff --git a/chkdep b/chkdep index e1e6047..7c0d533 100755 --- a/chkdep +++ b/chkdep @@ -52,6 +52,10 @@ def rmdupdeps(deps): newdeps = [] for i in deps: if i not in ignorepkgs: + if i in depdeps: + if trace: + print "Ignoring %s as it is already a dependency of some other dependency." % i + continue gotdeps = filter(lambda x: x != i, getdeps(i)) getdeps_deps = [] if trace: _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
