Closed SwooshyCueb closed 1 year ago
yay -Bi
in yay-git
can handle PKBUILD changes.
This is not on the roadmap for yay -S
How can that not be a bug? I as a user expect the tool to build and install the PKBUILD as modified. Why else would you be prompted to modify it in the first place?
Right now if you change (and therefore fix) the dependencies you could get a broken build...
Affected Version
yay v11.1.2 - libalpm v13.0.1
Describe the bug
yay
does not re-evaluate dependencies after PKGBUILD is edited. Changing an entry independs
when prompted to editPKGBUILD
has no effect.Reproduction Steps
mandoc
. You may have to replaceman-db
.aur/git-buildpackage
PKGBUILD
. Independs
, replaceman-db
withman
.yay
still tries to installman-db
even thoughmandoc
satisfies theman
requirement.Expected behavior
yay
re-evaluates dependencies afterPKGBUILD
edited, and does not try to installman-db
, asmandoc
satisfies theman
requirement.Output