Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Cc: Dale <rdalek1967@×××××.com>
Subject: Re: [gentoo-user] portage-2.2.0_alpha38 & --depclean
Date: Wed, 08 Jun 2011 00:17:57
Message-Id: 201106080215.53872.alan.mckinnon@gmail.com
In Reply to: Re: [gentoo-user] portage-2.2.0_alpha38 & --depclean by Dale
1 Apparently, though unproven, at 02:03 on Wednesday 08 June 2011, Dale did
2 opine thusly:
3
4 > Alan McKinnon wrote:
5 > > Apparently, though unproven, at 01:08 on Wednesday 08 June 2011, Walter
6 > > Dnes
7 > >
8 > > did opine thusly:
9 > >> On Tue, Jun 07, 2011 at 05:55:38AM -0700, Mark Knecht wrote
10 > >>
11 > >>> On Tue, Jun 7, 2011 at 2:10 AM, Alan McKinnon<alan.mckinnon@×××××.com>
12 > >
13 > > wrote:
14 > >>>> Latest portage-2.2.0_alpha38 has changed something with system set and
15 > >>>> depclean handling. It now shows this:
16 > >>>>
17 > >>>> !!! 'app-editors/nano' is part of your system profile.
18 > >>>> !!! Unmerging it may be damaging to your system.
19 > >>>
20 > >>> I saw the same thing here yesterday so I added nano& less to my world
21 > >>> file just so I could move on.
22 > >>>
23 > >> Has anyone ever considered a "virtual/app-editor" ebuild, and letting
24 > >>
25 > >> vim/joe/nano/whatever satisfy it?
26 > >
27 > > y'know, now that you mention it:
28 > >
29 > > $ eix -e editor
30 > > [I] virtual/editor
31 > >
32 > > Available versions: 0{tbz2}
33 > > Installed versions: 0{tbz2}(12:10:07 10/06/10)
34 > > Description: Virtual for editor
35 > >
36 > > $ genlop -t editor
37 > >
38 > > * virtual/editor
39 > >
40 > > Mon Aug 4 02:31:59 2008>>> virtual/editor-0
41 > >
42 > > merge time: 3 seconds.
43 > >
44 > > I think the answer is "Yes"
45 > >
46 > > :-)
47 > >
48 > > the virtual satisfies something like 27 different editors
49 >
50 > Then why didn't they do it that way? Require a editor but let the user
51 > pick which one and it be part of the system set. Maybe I am missing
52 > something here. It wouldn't be the first time. ;-)
53
54 Yes, you are missing something - what you say is exactly how they now do it.
55
56 Previously nano was explicitly in system - set by profile. Now it's the
57 virtual. iow, pick the one you want.
58
59 This change could only happen now as to do it Zac needed GLEP 37 satisfied
60 properly
61
62 --
63 alan dot mckinnon at gmail dot com