Gentoo Archives: gentoo-pms

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] PROPERTIES contradiction?
Date: Tue, 21 Dec 2010 14:54:43
Message-Id: 20101221145425.77138fee@snowcone
In Reply to: [gentoo-pms] PROPERTIES contradiction? by Ulrich Mueller
On Tue, 21 Dec 2010 15:46:25 +0100
Ulrich Mueller <ulm@g.o> wrote:
> In file eapi-differences.tex, section "EAPI 4", PMS says: > ,---- > | EAPI 4 is EAPI 3 with the following changes: > | * PROPERTIES support is mandatory. > `---- > > Whereas in file dependencies.tex, subsection "Properties", it seems to > contradict the above: > ,---- > | The following tokens are permitted inside PROPERTIES: > | * interactive > | The package may require interaction with the user via the tty. > | > | Ebuilds may not rely upon any token being supported. > `---- > > Should the last sentence be deleted?
No. PROPERTIES is purely advisory. The package manager may use it to handle builds differently, but ebuilds must not rely upon it. The "PROPERTIES support is mandatory" part refers to support for the metadata key itself. Since it was added in as a non-EAPI change, you couldn't rely upon metadata cache containing a value for it. -- Ciaran McCreesh

Attachments

File name MIME type
signature.asc application/pgp-signature