Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Doug Newgard
On Sat, 22 Oct 2016 14:24:59 +1000 Allan McRae wrote: > I'm sure there was a bug report asking for rundepends=() to be added to > the PKGBUILD spec. I can't seem to find it, so I guess that was rejected! > > A It was. https://bugs.archlinux.org/task/45500

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Allan McRae
On 22/10/16 00:46, Eli Schwartz wrote: > On 10/21/2016 10:16 AM, Lukas Jirkovsky wrote: >> build time dependencies = makedepends + depends >> runtime dependencies = depends >> >> In other words, the depends are implicitly makedepends, too. You need >> to build packages in correct order. You

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Eli Schwartz
On 10/21/2016 10:16 AM, Lukas Jirkovsky wrote: > build time dependencies = makedepends + depends > runtime dependencies = depends > > In other words, the depends are implicitly makedepends, too. You need > to build packages in correct order. You approach of ignoring > dependencies will fail

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Lukas Jirkovsky
On 21 October 2016 at 13:56, Brendan Hide wrote: >> >> Build-time dependencies are only listed in makedepends if they're not >> needed at run-time, otherwise they're only listed in the depends array, >> so this wouldn't really be possible. >> > In that case, how do the

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Brendan Hide
On 10/21/16 13:48, Johannes Löthberg wrote: On 21/10, Brendan Hide wrote: Instead, I would like to specify "--noruntimedeps" - or some similar flag, so I see potential build time dependencies immediately but also ignore run time dependencies that are going to be installed anyway. Build-time

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Brendan Hide
On 10/21/16 13:25, Alad Wenter wrote: On 10/21/2016 12:31 PM, Brendan Hide wrote: Good day, all TL;DR: Is there a parameter for makepkg that ignores runtime dependencies but does not ignore build-time dependencies? [snip] ... Or maybe you should just implement dependency resolution in

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Johannes Löthberg
On 21/10, Brendan Hide wrote: Instead, I would like to specify "--noruntimedeps" - or some similar flag, so I see potential build time dependencies immediately but also ignore run time dependencies that are going to be installed anyway. Build-time dependencies are only listed in makedepends

Re: [pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Alad Wenter
On 10/21/2016 12:31 PM, Brendan Hide wrote: Good day, all TL;DR: Is there a parameter for makepkg that ignores runtime dependencies but does not ignore build-time dependencies? Long version: I prefer using a custom cower/makepkg script (as a user) followed by pacman (as root) over using

[pacman-dev] makepkg - separate build nodeps and runtime nodeps

2016-10-21 Thread Brendan Hide
Good day, all TL;DR: Is there a parameter for makepkg that ignores runtime dependencies but does not ignore build-time dependencies? Long version: I prefer using a custom cower/makepkg script (as a user) followed by pacman (as root) over using yaourt. I regularly come across the situation