[aur-general] Check redundant dependencies

Abhishek Dasgupta abhidg at gmail.com
Wed Jun 4 07:35:16 EDT 2008


On Tue, May 27, 2008 at 2:23 PM, Clément DEMOULINS <cdemoulins at gmail.com> wrote:
> Hi,
>
> I write a script in python that check dependencies for a PKGBUILD or a
> program. The script check if the dependencies are already include by
> another dependency.
>
> Exemple for the package gajim :
>
> $ yaourt -Si gajim | grep depends
> Depends On     : gtkspell  sqlite3  dnsutils  pygtk  libxss  python>=2.5
> $ archdep.py -p gajim
> python is already include by pygtk
>
> $ archdep.py --help
> Usage: archdep.py [options]
>
> Options:
>  -h, --help     show this help message and exit
>  -g, --draw     Draw the dependence's tree
>  -p, --program  Calcul optional dependences for a program and not a
> PKGBUILD
>  -r, --request  Question the remote database (pacman -Si), default is
> local (pacman -Qi)
>  -d, --debug    Add debug messages
>
> This work fine for programs use python (or any script language)
> contrary to namcap.
> I attach a PKGBUILD for test this script and a png of tree of
> dependenies of gajim create with option --draw.
>
> Clément DEMOULINS
>

This is a really cool program! I especially like the graph output.

Thanks,
-- 
Abhishek Dasgupta


More information about the aur-general mailing list