Gentoo Archives: gentoo-dev

From: "Vadim A. Misbakh-Soloviov" <mva@×××.name>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] [RFC] Suggested packages option in portage
Date: Wed, 29 May 2013 15:43:49
Message-Id: 51A6222A.9090105@mva.name
1 I think, it'll be nice to have a way to suggest some packages to user,
2 when (s)he installs something. For now it is only way to do that by
3 something like:
4
5 pkg_postinst() {
6 if ! has_version dev-lua/iluajit; then
7 einfo "You'd probably want to install dev-lua/iluajit to";
8 ewarn "get fully functional interactive shell for LuaJIT";
9 fi
10 if has_version app-editors/emacs || has_version
11 app-editors/xemacs; then
12 einfo "You'd probably want to install app-emacs/lua-mode
13 to";
14 ewarn "get Lua completion in emacs.";
15 fi
16 }
17
18 but some people find that way annoying and some devs also thinks it is
19 bad way.
20 Another way (use USEflags-related PDEPs — is a bad way too).
21
22 Any thoughts? :)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] [RFC] Suggested packages option in portage Ian Stakenvicius <axs@g.o>