aur
aur copied to clipboard
Get depends, makedepends, optdepents ...
Hello,
first of all, thanks for this neat package! I wish it would return the different Depends fields on a aur.info('package') call. These fields will be optionally returned via the AUR API:
curl "https://aur.archlinux.org/rpc/?v=5&type=info&arg=cower" -s | jq
{
"version": 5,
"type": "multiinfo",
"resultcount": 1,
"results": [
{
"ID": 404289,
"Name": "cower",
"PackageBaseID": 44921,
"PackageBase": "cower",
"Version": "17-2",
"Description": "A simple AUR agent with a pretentious name",
"URL": "http://github.com/falconindy/cower",
"NumVotes": 868,
"Popularity": 37.003249,
"OutOfDate": null,
"Maintainer": "falconindy",
"FirstSubmitted": 1293676237,
"LastModified": 1493044041,
"URLPath": "/cgit/aur.git/snapshot/cower.tar.gz",
"Depends": [
"curl",
"pacman",
"yajl"
],
"MakeDepends": [
"perl"
],
"License": [
"MIT"
],
"Keywords": [
"aur"
]
}
]
}
Do you intend on adding this feature? Would you like me to help you on this? My python knowledge is rather limited though.
I'm definitely up for adding this feature -- give me a few days and I'll look at it some time. :-)