Gentoo Archives: gentoo-user

From: "Arttu V." <arttuv69@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: package.keywords
Date: Mon, 22 Jun 2009 15:14:57
Message-Id: fecdbac60906220814i601f6dffk5f8e7e439926b595@mail.gmail.com
In Reply to: [gentoo-user] Re: package.keywords by James
1 On 6/22/09, James <wireless@×××××××××××.com> wrote:
2 > Where do I read more and find more of the latest example for
3 > syntax with portage and the different files therein?
4 <snip />
5 > It should have read:
6 >
7 > 'man portage' does not show the use of the (><=) syntax
8 > within the package.keywords file ?
9
10 No, but it instructs one to peek into man 5 ebuild for the info. If
11 you look again at the portage manpage, the section on package.keywords
12 states of the file format:
13
14 "one DEPEND atom per line followed by additional KEYWORDS"
15
16 And at the top (Glossary) it says about these atoms:
17
18 "DEPEND atom
19 A string which matches a package. It is of the
20 form category/package. It may also contain optional logical operators
21 and versions.
22 More reading: ebuild(5)"
23
24 Follow this "more reading"-hint by entering "man 5 ebuild". The
25 resulting manpage tells you quite extensively (even everything?) about
26 the atoms, with many examples, and more.
27
28 It takes a meticulous, technically inclined (or otherwise
29 anal-retentive? :) ) mind to read these manpage-thingies which were
30 structured and invented before the modern hypertext-intarweb hit the
31 streets two decades ago. And sure, some of them are written badly, but
32 IMHO the gentoo ones are pretty ok from a user's POV.
33
34 So, as a conclusion, you probably want to use ~ instead of >= in there
35 as you apparently are running a mostly stable box (arch) instead of
36 testing (~arch)?
37
38 --
39 Arttu V.

Replies

Subject Author
[gentoo-user] Re: package.keywords James <wireless@×××××××××××.com>