FS#43264 - makepkg should add VCS binary to makedepends for VCS source

Attached to Project: Pacman
Opened by Andrew (abrouwers) - Monday, 29 December 2014, 15:55 GMT
Last edited by Allan McRae (Allan) - Monday, 29 December 2014, 22:36 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

With pacman/makepkg 4.2, it seems there was some work to detect the required binary to retrieve a VCS source URL, ie:

==> ERROR: Cannot find the git package needed to handle git sources

It might be nice, if makepkg just added "git" to makedepends, without being required to be explicitly mentioned in the PKGBUILD. There may be some edge cases where it's not completely ideal (which I can't think of at the moment), but it would simplify many builds.

It seems the user already has fine-grained control via. makepkg.conf (with VCSCLIENTS ) if they would have a preferred client.

Thanks for the consideration!

Additional info:
* pacman 4.2
This task depends upon

Closed by  Allan McRae (Allan)
Monday, 29 December 2014, 22:36 GMT
Reason for closing:  Won't implement
Additional comments about closing:  there will be no automatic adjustment of PKGBUILDs
Comment by Hugo Osvaldo Barrera (hobarrera) - Friday, 06 February 2015, 09:56 GMT
Rather than auto-add them to makedepends, it would be interesting to have makepkg *know* they're necesary without altering the PKGBUILD (eg: require `git` to be installed for git://, even if it's not in makedepends).

Loading...