Gentoo Archives: gentoo-pms

From: "Tiziano Müller" <dev-zero@g.o>
To: gentoo-pms@l.g.o
Subject: Re: [gentoo-pms] EAPI 5 (Was: Re: [gentoo-dev] Re: Making user patches globally available)
Date: Mon, 30 Apr 2012 09:04:06
Message-Id: 1335776630.4823.75.camel@storm
In Reply to: Re: [gentoo-pms] EAPI 5 (Was: Re: [gentoo-dev] Re: Making user patches globally available) by Ciaran McCreesh
Am Samstag, den 28.04.2012, 18:14 +0100 schrieb Ciaran McCreesh:
> On Sat, 28 Apr 2012 19:11:03 +0200 > Tiziano Müller <dev-zero@g.o> wrote: > > Could we also get an interface to disk- and memory-space requirements? > > > > Something like: > > > > EREQUIRE_DISK="2G" > > EREQUIRE_MEMORY="1G" > > > > which gets checked in pre_pkg_setup? > > Is there anything the package mangler can do better than check-reqs > here? >
Since $T isn't writeable in pkg_pretend according to EAPI it doesn't make much sense to read from it as well (since it is empty). Therefore a PM may decide to dynamically allocate $S and/or $T after pkg_pretend. Or is there something I forgot? Furthermore, just because disk space requirements are met at pkg_pretend time it may not be the case at src_unpack or src_compile time and one may have to recheck it (especially when using cave-resolve with -Ci). And since the PM is responsible for preparing the environment it also makes sense to me that the PM checks whether it can prepare the environment at all as required by the ebuild. Cheers, Tiziano


File name MIME type
smime.p7s application/x-pkcs7-signature