-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 29/05/13 11:43 AM, Vadim A. Misbakh-Soloviov wrote: > I think, it'll be nice to have a way to suggest some packages to > user, when (s)he installs something. For now it is only way to do > that by something like: > > pkg_postinst() { if ! has_version dev-lua/iluajit; then einfo > "You'd probably want to install dev-lua/iluajit to"; ewarn "get > fully functional interactive shell for LuaJIT"; fi if has_version > app-editors/emacs || has_version app-editors/xemacs; then einfo > "You'd probably want to install app-emacs/lua-mode to"; ewarn "get > Lua completion in emacs."; fi } > > but some people find that way annoying and some devs also thinks it > is bad way. Another way (use USEflags-related PDEPs — is a bad way > too). > > Any thoughts? :) >
There are many thoughts, iirc there was at least one 100+ long thread in august/september 2012. Search for "SDEPEND" and "IUSE_RUNTIME" in the mailing list logs. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iF4EAREIAAYFAlGmIs0ACgkQ2ugaI38ACPCzcQD/bANxbOhGaxwNhdXJ7Nxhw3Ld yZr96dhlKwfp6I1D2pIA+gPO0eYRGo4FDkbMQ1z72lawQgufTKbXpHwobjCTUVlb =c6wc -----END PGP SIGNATURE-----