1 |
Am Wed, 28 Jan 2009 06:07:35 +0200 |
2 |
schrieb Nikos Chantziaras <realnc@×××××.de>: |
3 |
|
4 |
> Mark Knecht wrote: |
5 |
> > On Tue, Jan 27, 2009 at 6:00 PM, Nikos Chantziaras <realnc@×××××.de> wrote: |
6 |
> >> In order to reduce clutter in the keyword files, you can omit the "~amd64" |
7 |
> >> part. This is equvalent: |
8 |
> >> |
9 |
> >> =dev-libs/glib-2.18.4 |
10 |
> >> |
11 |
> >> Also, it helps explaining to people how to keyword packages without knowing |
12 |
> >> their arch. |
13 |
> > |
14 |
> > Makes sense. By giving the exact package revision I'm saying that's |
15 |
> > the one I want. I don't need any additional wild card of any type. |
16 |
> > |
17 |
> > Additionally is address my other frustrating with this where I want |
18 |
> > and need some version, say 2.18.1, so I use ~amd64 to get it, and then |
19 |
> > over time the system builds 2.18.2, 2.18.3, 2.18.4, etc., which I |
20 |
> > don't need and personalyl don't want until one of them goes stable. |
21 |
> |
22 |
> To only have 2.18.1 you use this: |
23 |
> |
24 |
> <dev-libs/glib-2.18.2 |
25 |
> |
26 |
> That means "only versions lower than 2.18.2". That way, portage will |
27 |
> never update to 2.18.2 or higher if it's not marked stable. Valid |
28 |
> "operators" are: =, <, >, <= and >=. |
29 |
> |
30 |
> Normally, one would think that it's better to use this: |
31 |
> |
32 |
> <=dev-libs/glib-2.18.1 |
33 |
> |
34 |
> to achieve the same result. However, it's usually good to get revision |
35 |
> bumps (for example 2.18.1-r1) since they're meant to fix bugs. With |
36 |
> "<dev-libs/glib-2.18.2" you'll never get 2.18.2 if it's not marked |
37 |
> stable, but you'll still get 2.18.1-rN revision bumps which should be a |
38 |
> good thing. |
39 |
|
40 |
What about the "~" operator, which does what you mentioned? |
41 |
|
42 |
For instance, I have this in my package.keywords: |
43 |
~dev-python/matplotlib-0.98.5.2 |
44 |
|
45 |
That keywords that particular version, along with all revisions. I learned |
46 |
about it on one of the Gentoo lists, but haven't found a reference in any |
47 |
portage man page except ebuild(5) (which does't mean it's not documented online, |
48 |
but I didn't check.) |
49 |
-- |
50 |
Marc Joliet |
51 |
-- |
52 |
"People who think they know everything really annoy those of us who know we |
53 |
don't" - Bjarne Stroustrup |