diff --git a/chkdep b/chkdep index c14f513..22a0d1a 100755 --- a/chkdep +++ b/chkdep @@ -20,7 +20,8 @@ def rmdupdeps(deps): while i: pkg = pacman.void_to_PM_PKG(pacman.list_getdata(i)) pkgname = pacman.void_to_char(pacman.pkg_getinfo(pkg, pacman.PKG_NAME)) - if pkgname in deps and pkgname not in ignorepkgs: + # we don't allow pkgname in depdeps to handle dep cycles + if pkgname in deps and pkgname not in depdeps and pkgname not in ignorepkgs: j = pacman.void_to_PM_LIST(pacman.pkg_getinfo(pkg, pacman.PKG_DEPENDS)) while j: dep = pacman.void_to_char(pacman.list_getdata(j)).split("<")[0].split(">")[0].split("=")[0]