Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412227

Summary: app-vim/gentoo-syntax bad default dependency order
Product: Gentoo Linux Reporter: Julian Ospald <hasufell>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: newebuild.vim.patch

Description Julian Ospald 2012-04-16 15:44:44 UTC
Created attachment 309151 [details, diff]
newebuild.vim.patch

usually ebuilds created with the skeleton from /usr/share/vim/vimfiles/plugin/newebuild.vim (20120109) use a default dependency syntax like

DEPEND=""
RDEPEND="${DEPEND}"

This results in things like pkgconfig, intltool or gettext to be non-removable by depclean if I just go with this default. In my opinion this setup is very rare and actually breaks the use of DEPEND. I would rather suggest the following default syntax:

RDEPEND=""
DEPEND="${RDEPEND}"

This way I ensure RDEPENDs to be merged before the package (which is not always needed, but a sane default; portage currently does that anyway, but may not in the future). However, everything explicitly specified in DEPEND will now _only_ be build-time and removable by depclean.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-04-16 15:58:46 UTC
in short: 
gentoo-syntax is reflecting what is in $PORTDIR/skel.ebuild and changes to to skel.ebuild go to gentoo-dev mailing list for discussion.
this topic been discussed before and the general consensus has been this is unnecessary bikeshedding.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-04-16 16:01:19 UTC
to clarify:

however if you want, you can (re)open the topic again at the gentoo-dev mailing list, nothing is stopping you from doing that. if you get a general consensus, feel free to open this bug too.