Created attachment 292825 [details] ebuild with additional run-time depenencies. Renaming the current x11-misc/zim-0.52 ebuild to version 0.53 works (tested on amd64). I have, however, modified the ebuild to correctly list additional run-time dependencies based on appropriate use-flags. zim already correctly detects the presence (or lack-of) these at run-time, so no changes are made to the installed files, but the dependency graph is now more complete. Added run-time dependencies (all optional based on use-flags) for: * bazaar? ( dev-vcs/bzr ) * gnuplot? ( sci-visualization/gnuplot ) * imagemagick? ( media-gfx/imagemagick ) * R? ( dev-lang/R ) Modified ebuild is attached.
Hi, as far as i can say, the mentioned dependencies are optional and there is no build-system that changes installed files, if these are pre- or absent. Therefore, use flags would result in useless re-emerges w/o effect on the installed files. I would suggest an elog message in pkg_postinst informing the user about the packages needed for specific VCS. I'll finish this in 12 hours. Michael
That same logic may be applicable to all of the RDEPENDS in the ebuild then (the one currently in portage). None of those use flags affect the ebuild, though I haven't checked to see if the install script checks for them (but RDEPENDS aren't guaranteed to exist at build time? I'm not certain on the ebuild semantics.).
(In reply to comment #2) yeah, test needs bzr for example.
+*zim-0.53 (17 Nov 2011) + + 17 Nov 2011; Michael Weber <xmw@gentoo.org> -zim-0.28.ebuild, + -files/zim-0.28-disable-updates.patch, -zim-0.46.ebuild, + -files/zim-0.46-disable-updates.patch, -zim-0.47.ebuild, +zim-0.53.ebuild: + Version bump (thanks to Alastair Murray for the report bug 390773), drop use + flags, remove old versions. +