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