Gentoo Archives: gentoo-portage-dev

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] Re: [PATCH] Make the USE variable readonly (bug 325009)
Date: Tue, 23 Jun 2015 11:40:32
Message-Id: 558945A7.5080006@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] Make the USE variable readonly (bug 325009) by Zac Medico
1 On 04/26/2015 11:14 PM, Zac Medico wrote:
2 > This requires the EBUILD_FORCE_TEST code from dyn_test to execute
3 > before USE is declared readonly.
4 >
5 > X-Gentoo-Bug: 325009
6 > X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=325009
7 > ---
8
9 > --- a/bin/ebuild.sh
10 > +++ b/bin/ebuild.sh
11 > @@ -1,5 +1,5 @@
12 > + declare -r USE
13
14 This breaks the 'ebuildshell' feature patch,
15 https://bugs.gentoo.org/show_bug.cgi?id=155161
16
17 Shouldn't "USE" show up in PORTAGE_READONLY_VARS as well?
18
19 /haubi/