pmb.parse.depends.recurse: tweak message (MR 2151)
Fix the lint error. While at it, change the wording so it's clear it's looking in pmaports instead of aports, use '' around the source package just as the message does about the pkgname_depend, remove <> from the link URL. New message: Could not find dependency 'so:libPocoData.so.80' in checked out pmaports dir or any APKINDEX. Required by 'nymphcast'. See: https://postmarketos.org/depends Fixes: 81dc4c ("pmb.parse: show which package require the missing package")
This commit is contained in:
parent
81dc4c17f6
commit
3e5f27d5e3
|
@ -143,8 +143,9 @@ def recurse(args, pkgnames, suffix="native"):
|
|||
if pkgname_depend in required_by:
|
||||
source = ', '.join(required_by[pkgname_depend])
|
||||
raise RuntimeError(f"Could not find dependency '{pkgname_depend}' "
|
||||
f"in any aports folder or APKINDEX. Required by: {source}. "
|
||||
"See: <https://postmarketos.org/depends>")
|
||||
"in checked out pmaports dir or any APKINDEX. "
|
||||
f"Required by '{source}'. See: "
|
||||
"https://postmarketos.org/depends")
|
||||
|
||||
# Append to todo/ret (unless it is a duplicate)
|
||||
pkgname = package["pkgname"]
|
||||
|
|
Loading…
Reference in New Issue