Gentoo Archives: gentoo-dev

From: Paul de Vrieze <pauldv@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] question regarding inherit
Date: Mon, 07 Jun 2004 09:19:46
Message-Id: 200406071119.42012.pauldv@gentoo.org
In Reply to: Re: [gentoo-dev] question regarding inherit by Aron Griffis
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Friday 04 June 2004 19:47, Aron Griffis wrote:
5 > Jason Stubbs wrote: [Thu Jun 03 2004, 06:31:53PM EDT]
6 >
7 > > Three options:
8 > >
9 > > 1) Drop portage caching altogether.
10 > > 2) Separate the global section into a separate non-bash file with
11 > > new syntax. 3) Make everything constant in the global section of
12 > > ebuilds.
13 >
14 > I think #3 is already the case, basically. Anything outside of
15 > functions should be constant. The problem is that we haven't made
16 > this clear to developers, so there is still some use foo && ...
17 >
18 > Is there anything outside of functions that doesn't need to be
19 > constant? I can't think of anything. Maybe boiling the problem down
20 > to this point is enough to "solve" the problem.
21
22 Parsing anything but variable substitutions ( ${FOOBAR} ) is very hard.
23 We could create variable substitutions though that allow some kinds of
24 dynamic behaviour such as SLOT variables dependend on installed
25 packages / useflags
26
27 Paul
28
29 - --
30 Paul de Vrieze
31 Gentoo Developer
32 Mail: pauldv@g.o
33 Homepage: http://www.devrieze.net
34 -----BEGIN PGP SIGNATURE-----
35 Version: GnuPG v1.2.4 (GNU/Linux)
36
37 iD8DBQFAxDMtbKx5DBjWFdsRApZ6AKCa/MpZg/bIeT1d2zaUrLobkYqANACdHkrt
38 RLgf46YIP977OmnorTCdlxM=
39 =PmV+
40 -----END PGP SIGNATURE-----
41
42 --
43 gentoo-dev@g.o mailing list

Replies

Subject Author
Re: [gentoo-dev] question regarding inherit Aron Griffis <agriffis@g.o>