Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] [PATCH 15/22] EAPI 6 has in_iuse.
Date: Thu, 15 Oct 2015 17:12:09
Message-Id: 20151015181159.54a974ed@googlemail.com
In Reply to: Re: [gentoo-pms] [PATCH 15/22] EAPI 6 has in_iuse. by Ulrich Mueller
1 On Thu, 15 Oct 2015 19:05:08 +0200
2 Ulrich Mueller <ulm@g.o> wrote:
3 > >>>>> On Thu, 15 Oct 2015, Ciaran McCreesh wrote:
4 >
5 > >> We already say in the first paragraph of the section: "Ebuilds must
6 > >> not run any of these functions in global scope." which applies to
7 > >> all USE list functions.
8 >
9 > > How about taking the opportunity to explicitly force all of these to
10 > > die, then? I can see in_iuse being abused horribly if Portage isn't
11 > > made to enforce this...
12 >
13 > Hm, how about replacing above sentence by: "It is an error if an
14 > ebuild calls any of these functions in global scope."?
15
16 That will work, if the appropriate Portage developer hands can be
17 twisted.
18
19 --
20 Ciaran McCreesh

Attachments

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

Replies