Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] ebuild: set up bash compat levels
Date: Fri, 13 Nov 2015 02:38:26
Message-Id: 56454D1B.4000302@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] ebuild: set up bash compat levels by Tim Harder
1 On 11/12/2015 06:33 PM, Tim Harder wrote:
2 > On 2015-11-12 21:25, Zac Medico wrote:
3 >>> Just to note another approach, pkgcore generates global and per-eapi
4 >>> function lists at install time (or uses the generation scripts when
5 >>> running from a checkout) so manually tracking lists of functions isn't
6 >>> required.
7 >
8 >> That seems like a pretty reasonable approach, at least up until PMS
9 >> reserved the __ prefix for package managers. I'm pretty sure that Mike
10 >> is intend on exploiting this reserved prefix now. :)
11 >
12 > I don't think it's always possible to use a prefix for functions that
13 > shouldn't be saved to the env that are internally implemented in the PM
14 > but externally accessible in ebuilds, e.g. insinto, docinto, inherit,
15 > etc.
16 >
17 > Tim
18 >
19
20 That's true, I guess we should look into generating the list automatically.
21 --
22 Thanks,
23 Zac