Gentoo Archives: gentoo-dev

From: Nicolas Kaiser <nikai@×××××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] significance of output from emerge -ep
Date: Tue, 01 Oct 2002 08:10:29
Message-Id: 20021001150026.4acf3951.nikai@nikai.net
1 I'm having difficulties understanding why "emerge -ep" deprives me of
2 useful information about packages that are already installed, or in
3 different version.
4
5 Is there a special reason for --emptytree testing in this place?
6
7 TIA,
8 Nicolas
9
10
11 $ diff -u /usr/lib/portage/bin/emerge.orig /usr/lib/portage/bin/emerge
12 --- /usr/lib/portage/bin/emerge.orig 2002-10-01 14:22:44.000000000 +0200
13 +++ /usr/lib/portage/bin/emerge 2002-10-01 14:30:09.000000000 +0200
14 @@ -844,11 +844,9 @@
15 else:
16 if x[3]=="nomerge":
17 continue
18 - #we need to use "--emptrytree" testing here rather than "empty" param testing because "empty"
19 - #param is used for -u, where you still *do* want to see when something is being upgraded.
20 - if (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific(x[2]):
21 + if portage.db[x[1]]["vartree"].exists_specific(x[2]):
22 addl=" "+yellow("R")+" "
23 - elif (not "--emptytree" in myopts) and portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
24 + elif portage.db[x[1]]["vartree"].exists_specific_cat(x[2]):
25 addl=" "+turquoise("U")+" "
26 else:
27 addl=" "+green("N")+" "
28
29
30
31
32 --
33 Registered Linux User #223623 http://counter.li.org
34 http://freshmeat.net/~nikai
35 http://sf.net/users/nikai
36 2:59pm up 2:22, bogomips: 1389.36 War wieder spät gestern

Replies

Subject Author
Re: [gentoo-dev] significance of output from emerge -ep Stuart Bouyer <stuart@××××××××××××××××.jp>