Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412227 - app-vim/gentoo-syntax bad default dependency order
Summary: app-vim/gentoo-syntax bad default dependency order
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 15:44 UTC by Julian Ospald
Modified: 2012-04-16 16:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
newebuild.vim.patch (newebuild.vim.patch,333 bytes, patch)
2012-04-16 15:44 UTC, Julian Ospald
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 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 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.