When we create a new ebuild file with vim, we get this at the end: > DEPEND="" > RDEPEND="${DEPEND}" It must be replaced by: > RDEPEND="" > DEPEND="${RDEPEND}" The bug is located at /usr/share/vim/vimfiles/plugin/newebuild.vim (line 155). How to reproduce the bug: $ cd; vim new.ebuild
You forgot to reason why these should be swapped. I could much more reasonably argue that neither should turn up in an empty ebuild template as neither is a required variable.
I'm not an expert at writing ebuilds. I thought that all ebuilds use the second form, which is more logical for me. Or, for more complex needs, a "common_depend" variable can be used. After grepping a little in the portage tree, actually it seems that a lot of ebuilds use the first form. As a beginner, the first form was disturbing, so I reported this bug.
Swapping those variables makes no sense to me as it always depends on the package. I'd say WONTFIX.
Created attachment 305579 [details, diff] 0001-Swap-rdepend-and-depend-in-newebuild.vim.patch I have to agree with the user. When I looked on the tree most new stuff have these two variables swapped if they are filled. Also it make sense wrt adding build only deps like doxygen and others. And fwiw if you get them by default you can dd them quite easily, but most apps have deps anyway.
It was dealt with ages ago. No longer relevant. Closing.