Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] pkg_nofetch: $A vs. $SRC_URI
Date: Tue, 04 Jul 2006 20:22:23
Message-Id: 20060704200855.GA3637@curie-int.vc.shawcable.net
In Reply to: Re: [gentoo-dev] pkg_nofetch: $A vs. $SRC_URI by Zac Medico
1 On Tue, Jul 04, 2006 at 12:35:04PM -0700, Zac Medico wrote:
2 > -----BEGIN PGP SIGNED MESSAGE-----
3 > Hash: SHA1
4 >
5 > Robin H. Johnson wrote:
6 > > When FEATURES=mirror, and you try to fetch, it does indeed contain unevaluated
7 > > USE flags. However for FEATURES=-mirror, the content of it is correct - no USE
8 > > flags at all.
9 > Are you sure about the SRC_URI being different? I don't see anything
10 > in the code that causes the SRC_URI to change depending on FEATURES,
11 > and a quick test doesn't seem to reproduce that behavior.
12 Sorry, you're right, my earlier testcase had a bug that caused me to
13 miss it.
14
15 > If a version of SRC_URI that has all the conditionals evaluated is
16 > needed in the ebuild environment, then I think we should use a new
17 > variable name. Otherwise, it's ambiguous.
18 Sure, I don't object to to a new variable.
19
20 --
21 Robin Hugh Johnson
22 E-Mail : robbat2@g.o
23 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85