Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Guidelines for IUSE defaults
Date: Sat, 04 Feb 2017 14:57:26
Message-Id: fcec8745-e4aa-c267-06e5-9b5cd548eedd@gentoo.org
In Reply to: Re: [gentoo-dev] Guidelines for IUSE defaults by Patrick McLean
1 On 02/03/2017 08:07 PM, Patrick McLean wrote:
2 >
3 > I think the current policy of "maintainer's discretion" is probably the
4 > only reasonable way to approach IUSE defaults...
5 >
6 > Leaving the IUSE defaults up to the maintainer allows said maintainer
7 > to select what they consider reasonable defaults.
8 >
9
10 This is the way we currently do things:
11
12 DEFAULTS="+apples -pears +potatoes -chicken +steak +broccoli +spatula"
13 FRUIT="${DEFAULTS} +pears -potatoes -steak -broccoli -spatula"
14 MEAT="${DEFAULTS} -apples -potatoes +chicken -broccoli -spatula"
15 VEGETABLES="${DEFAULTS} -apples -steak -spatula"
16 MISC="${DEFAULTS}"
17
18 Compare with:
19
20 DEFAULTS=""
21 FRUIT="+apples +pears"
22 MEAT="+chicken +steak"
23 VEGETABLES="+potatoes +broccoli"
24 MISC="+apples -pears +potatoes -chicken +steak +broccoli +spatula"
25
26 One of those is stupid, regardless of what you like to eat.

Replies

Subject Author
Re: [gentoo-dev] Guidelines for IUSE defaults "William L. Thomson Jr." <wlt-ml@××××××.com>