1 |
On Sat, May 17, 2003 at 05:07:44PM -0500, Kurt V. Hindenburg wrote: |
2 |
> What happens: |
3 |
> 1. Look in DISTDIR for files (as normal) |
4 |
> 2. If not found, traverse through all directories in DISTDIRS looking |
5 |
> for files. |
6 |
> 3. Set a new environment variable (DDIR) pointing to correct directory |
7 |
> holding the files. |
8 |
> 4. ebuild.sh will use DDIR if set instead of DISTDIR. |
9 |
This seems to be a kludge. What if a package requires multiple source |
10 |
files that are in different DISTDIRs? Does that work? |
11 |
|
12 |
One further this with this. Which DISTDIR is used for live CVS ebuilds |
13 |
(that checkout to $DISTDIR/cvs-src) |
14 |
|
15 |
> Notes: |
16 |
> 1. I couldn't really figure out what the envirnoment variables A and |
17 |
> AA were meant for. |
18 |
I believe 'A' is a list of all new SRC_URIs, and AA is a list of ALL |
19 |
SRC_URIs. I may be wrong tho, that was from quite a while ago that I dug |
20 |
into portage. |
21 |
|
22 |
> 3. How can I get the latest cvs copy of portage as I would assume |
23 |
> people would want a diff against that. |
24 |
http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-src/portage/ |
25 |
|
26 |
> This will need further testing/fixing as I've only spent a few hours |
27 |
> on it and I'm a non-python user. |
28 |
> |
29 |
> Anyone doing something like this or anyone have any comments? |
30 |
See this bug: |
31 |
http://bugs.gentoo.org/show_bug.cgi?id=10803 |
32 |
|
33 |
I think being able to have multiple DISTDIRS is a very good move, I was |
34 |
wanting previously in Portage, but I never got around to coding it up. |
35 |
|
36 |
-- |
37 |
Robin Hugh Johnson |
38 |
E-Mail : robbat2@××××××××××××××.net |
39 |
Home Page : http://www.orbis-terrarum.net/?l=people.robbat2 |
40 |
ICQ# : 30269588 or 41961639 |
41 |
GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85 |