Gentoo Archives: gentoo-portage-dev

From: Alec Warner <antarus@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] has_version and built_with_use ignore package.provided
Date: Sun, 06 Aug 2006 21:56:42
Message-Id: 44D62CE4.1010101@gentoo.org
In Reply to: Re: [gentoo-portage-dev] has_version and built_with_use ignore package.provided by Paul Bredbury
1 Paul Bredbury wrote:
2 >> Go find a mathematician and discuss this matter with him. Tell him what you told
3 >> me, and he will slap you with a large frying pan.
4 >
5 > Here's a non-programming example, to make things clearer.
6 >
7 > It's a sunny Sunday, and Fred is watching a labourer trying to build a
8 > house with a shovel. An hour later, Jane comes along and asks Fred
9 > whether the labourer has built any houses *with* that shovel.
10 >
11 > Fred does not say:
12 >
13 > "Hang on! With *that* shovel? I dunno. Possibly. Who can say?"
14 >
15 > Fred does say:
16 >
17 > "Dudess, that labourer hasn't built any houses."
18 >
19 > Implicit in that is:
20 >
21 > "Dudess, regardless of the building tool, no houses have been built."
22
23 bad example, because in the depgraph's case, the house was built.
24
25 DEPEND="cat/foo-2.0"
26
27 cat /etc/portage/profile/package.provided:
28 cat/foo-2.0
29
30 package.provided tells portage (or fred in this case) that the package
31 (house) was installed(built). However portage(or Fred) has no idea how
32 the package was built; since the package.provided file doesn't provide
33 that information.
34
35 So to conclude, it would be as if Fred left for an hour and came back,
36 and then Jane walks by and asks "did the laborer build the house with a
37 shovel?" and Fred answers "How the hell should I know, I wasn't here
38 when he was working."
39 --
40 gentoo-portage-dev@g.o mailing list