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
1 On Fri, 15 Jun 2012 14:24:54 +0200
2 Luca Barbato <lu_zero@g.o> wrote:
3
4 > On 06/15/2012 09:44 AM, Samuli Suominen wrote:
5 > > Every Xfce ebuild in gentoo-x86 is using pkg_setup() for 3
6 > > variables, DOCS for src_install, PATCHES for src_prepare, and
7 > > XFCONF for src_configure
8 > >
9 > > No way we will add all 3 phases to every Xfce ebuild since that
10 > > would defeat the purpose of the xfconf.eclass which is designed so
11 > > that we cope with 99,0% using just pkg_setup()
12 >
13 > defining a function and call it from the eclass would be impossible?
14
15 Sounds like quite a good solution. We may also consider defining
16 src_setup() in new EAPI. Of course, still going this way we'll end up
17 with src_phase00(), src_phase40() and so on...
18
19 --
20 Best regards,
21 Michał Górny

Attachments

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