Michael Haubenwallner wrote:
----- Original Message -----
From: "Marius Mauch" <[EMAIL PROTECTED]>

Ciaran McCreesh wrote:

<snip>

As for the new metadata variable, I think it should be a complement to
RESTRICT (not limited to prefix). As the name for this var I suggest
SUPPORTS, so for an ebuild that can install into /usr, $PREFIX and $HOME
it would look like:
SUPPORTS="prefix prefix-home" (as /usr is implicit)


For the values of the SUPPORTS-Variable (i like the name) i'd prefer some
words pointing to the package-manager used (primary/secondary/home), fex
"secondarypm homepm" or "2ndpm homepm" or the like (more ideas welcome),
because /usr is a 'prefix' too.

That looks horribly confusing. Doesn't really matter if /usr is a prefix or not.


But here's just one point to think of how to avoid redundant information in
ebuilds:

The SUPPORTS-Variable _will_ be necessary for home-installation, sure. But
when an ebuild has KEYWORDS='sparc' and SUPPORTS='2ndpm', this does not
automatically imply that it compiles on a 'sparc-solaris' - this keyword has
to be added explicitly.

But how likely is it that on 'sparc-solaris' portage would be the primary
pkg mgr installing into /usr ?

Depends if there will be a Gentoo/OpenSolaris ...

So when an ebuild has 'sparc-solaris' in keywords, imo one can assume that
it _does_ support "secondarypm" (also look at
http://www.gentoo.org/proj/en/glep/glep-0022.html#reasonable-defaults).

Or is this assumption too much implicit ?

It would be confusing IMO.

Marius
--
[email protected] mailing list



Reply via email to