Gentoo Archives: gentoo-dev

From: Michael Haubenwallner <michael.haubenwallner@×××××××.at>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] new glep draft: Portage as a secondary package manager
Date: Thu, 12 May 2005 07:45:34
Message-Id: 000b01c556c8$275384c0$8ed5a8c0@xxxxxxx
In Reply to: Re: [gentoo-dev] new glep draft: Portage as a secondary package manager by Marius Mauch
1 ----- Original Message -----
2 From: "Marius Mauch" <genone@g.o>
3 > Ciaran McCreesh wrote:
4 <snip>
5 > As for the new metadata variable, I think it should be a complement to
6 > RESTRICT (not limited to prefix). As the name for this var I suggest
7 > SUPPORTS, so for an ebuild that can install into /usr, $PREFIX and $HOME
8 > it would look like:
9 > SUPPORTS="prefix prefix-home" (as /usr is implicit)
10
11 For the values of the SUPPORTS-Variable (i like the name) i'd prefer some
12 words pointing to the package-manager used (primary/secondary/home), fex
13 "secondarypm homepm" or "2ndpm homepm" or the like (more ideas welcome),
14 because /usr is a 'prefix' too.
15
16 But here's just one point to think of how to avoid redundant information in
17 ebuilds:
18
19 The SUPPORTS-Variable _will_ be necessary for home-installation, sure. But
20 when an ebuild has KEYWORDS='sparc' and SUPPORTS='2ndpm', this does not
21 automatically imply that it compiles on a 'sparc-solaris' - this keyword has
22 to be added explicitly.
23
24 But how likely is it that on 'sparc-solaris' portage would be the primary
25 pkg mgr installing into /usr ?
26
27 So when an ebuild has 'sparc-solaris' in keywords, imo one can assume that
28 it _does_ support "secondarypm" (also look at
29 http://www.gentoo.org/proj/en/glep/glep-0022.html#reasonable-defaults).
30
31 Or is this assumption too much implicit ?
32
33 Well, right, this will break the bsd keyworded ebuilds when used with a
34 secondary pm unless they support it, so this would not be a reasonable way
35 to go, just a point to think of (imo installing into primary prefix with a
36 secondary pkg mgr is sth. weird...)
37
38 ~haubi
39
40 PS: sorry for beeing offline most of the time, i'm on holiday until May 17,
41 just sporadically reading mail, and completely offline from May 13
42
43
44 --
45 gentoo-dev@g.o mailing list

Replies