Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=c0e7932169beb7d7f4e2437d81fa0b6a3b5c20a4

commit c0e7932169beb7d7f4e2437d81fa0b6a3b5c20a4
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Tue Dec 4 00:12:01 2007 +0100

chkdep: more trace info in rmdupdeps()

diff --git a/chkdep b/chkdep
index 8a5b95a..c14f513 100755
--- a/chkdep
+++ b/chkdep
@@ -25,12 +25,15 @@ def rmdupdeps(deps):
while j:
dep = 
pacman.void_to_char(pacman.list_getdata(j)).split("<")[0].split(">")[0].split("=")[0]
if dep not in depdeps:
+                                       print "%s will be ignored if found, as 
%s already depends on it." % (dep, pkgname)
depdeps.append(dep)
j = pacman.list_next(j)
i = pacman.list_next(i)
for i in deps:
if i not in depdeps and i not in ignorepkgs:
newdeps.append(i)
+               elif i in depdeps:
+                       print "Ignoring %s as it is already a dependency of 
some other dependency." % i
return newdeps

def detect_owner(lib):
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to