Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-pms
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-pms@g.o
From: Tiziano Müller <dev-zero@g.o>
Subject: Re: EAPI 5 (Was: Re: [gentoo-dev] Re: Making user patches globally available)
Date: Mon, 30 Apr 2012 11:03:50 +0200
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
Attachment:
smime.p7s (S/MIME cryptographic signature)
References:
EAPI 5 (Was: Re: [gentoo-dev] Re: Making user patches globally available)
-- Ciaran McCreesh
Re: EAPI 5 (Was: Re: [gentoo-dev] Re: Making user patches globally available)
-- Tiziano Müller
Re: EAPI 5 (Was: Re: [gentoo-dev] Re: Making user patches globally available)
-- Ciaran McCreesh
Navigation:
Lists: gentoo-pms: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: EAPI 5 (Was: Re: [gentoo-dev] Re: Making user patches globally available)
Next by thread:
Re: EAPI 5
Previous by date:
Re: EAPI 5
Next by date:
Re: EAPI 5


Updated Jul 18, 2012

Summary: Archive of the gentoo-pms mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.