Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] EAPI5: require ebuilds/eclasses to not use any vars/funcs prefixed with __
Date: Thu, 13 Sep 2012 05:54:46
Message-Id: CAJaTeTowLcxxmi6n8GpzYV9aiLg09CAGBkc3gW1PFy2KpwOkpw@mail.gmail.com
In Reply to: [gentoo-dev] EAPI5: require ebuilds/eclasses to not use any vars/funcs prefixed with __ by Brian Harring
1 On Wed, Sep 12, 2012 at 4:36 PM, Brian Harring wrote:
2 > Currently, there is a minor amount of ebuild/eclass usage of things
3 > named __*; ~90% of it is 'import once' eclass code like the following:
4 >
5 > """
6 > if [[ ${___ECLASS_ONCE_LIBTOOL} != "recur -_+^+_- spank" ]] ; then
7 > ___ECLASS_ONCE_LIBTOOL="recur -_+^+_- spank
8 > """
9 >
10 > Converting that is easy enough, and I'll be doing that work for
11 > gentoo-x86 if folks don't have an issue.
12
13 pick a funner prefix and i approve
14
15 > For instances where the sandbox needs to be turned off for a command-
16 > we do the same thing we did w/ nonfatal;
17 >
18 > sandboxless <the command and args>
19
20 fine idea
21 -mike

Replies