On Thu, Mar 2, 2017 at 9:03 AM, Michael Orlitzky <[email protected]> wrote:
> On 03/02/2017 04:58 AM, Alexis Ballier wrote:
>>
>> Is it really abusing ?
>> := deps in DEPEND only would also make sense for e.g. code generators
>>
>
> Slot operator dependencies are ignored in DEPEND:
>
> Indicates that any slot value is acceptable. In addition, for runtime
> dependencies, indicates that the package will break unless a matching
> package with slot and sub-slot equal to the slot and sub-slot of the
> best installed version at the time the package was built is available.
>
> In other words, the ":=" only does something special in RDEPEND. That
> makes sense when you think of it as meaning "the thing will break"
> rather than "I want to do a rebuild." The only reason it's not an error
> to put them in DEPEND is because it would annoy everyone doing
> DEPEND="${RDEPEND}".
Portage has interesting behavior for ":=" in DEPEND: it varies
depending on your "with-bdeps" setting.
floppym@naomi ~ % emerge -uDpv --with-bdeps=n @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild U ] dev-lang/go-1.8:0/1.8::gentoo [1.7.5:0/1.7.5::gentoo]
USE="-gccgo" 0 KiB
Total: 1 package (1 upgrade), Size of downloads: 0 KiB
floppym@naomi ~ % emerge -uDpv --with-bdeps=y @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild r U ] dev-lang/go-1.8:0/1.8::gentoo [1.7.5:0/1.7.5::gentoo]
USE="-gccgo" 0 KiB
[ebuild rR ] app-admin/cli53-0.8.7::gentoo 0 KiB
Total: 2 packages (1 upgrade, 1 reinstall), Size of downloads: 0 KiB
The following packages are causing rebuilds:
(dev-lang/go-1.8:0/1.8::gentoo, ebuild scheduled for merge) causes
rebuilds for:
(app-admin/cli53-0.8.7:0/0::gentoo, ebuild scheduled for merge)