[aur-general] script to check a binary package for architecture-independence

Abhishek Dasgupta abhidg at gmail.com
Mon Nov 2 12:47:59 EST 2009

2009/11/2 Thomas Bächler <thomas at archlinux.org>:
> Chris Brannon schrieb:
>> On second thought, I wonder if these sorts of checks should be done
>> within namcap?
> They should. Two checks:
> 1) Is an arch=any package architecture-dependent -> error
> 2) Is an arch=whatever package architecture-independent -> warning
> If you know python and have the time, you should write a patch against
> namcap.git and mail it to Hugo. I told him once that it's a good feature, no
> idea if he got to it. You can check namcap.git to see if he did something,
> and check the bugtracker if there is a feature request already.

It's not in namcap.git. You could look at elfflies.py - that already checks for
ELF files in the package. This would fit in neatly there.


More information about the aur-general mailing list