Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: lu_zero@g.o
Subject: Re: [gentoo-dev] ebuild laziness and binpkg overhead
Date: Fri, 15 Jun 2012 12:36:34
Message-Id: 20120615143537.1e73fbf2@pomiocik.lan
In Reply to: Re: [gentoo-dev] ebuild laziness and binpkg overhead by Luca Barbato
On Fri, 15 Jun 2012 14:24:54 +0200
Luca Barbato <lu_zero@g.o> wrote:

> On 06/15/2012 09:44 AM, Samuli Suominen wrote: > > Every Xfce ebuild in gentoo-x86 is using pkg_setup() for 3 > > variables, DOCS for src_install, PATCHES for src_prepare, and > > XFCONF for src_configure > > > > No way we will add all 3 phases to every Xfce ebuild since that > > would defeat the purpose of the xfconf.eclass which is designed so > > that we cope with 99,0% using just pkg_setup() > > defining a function and call it from the eclass would be impossible?
Sounds like quite a good solution. We may also consider defining src_setup() in new EAPI. Of course, still going this way we'll end up with src_phase00(), src_phase40() and so on... -- Best regards, Michał Górny

Attachments

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