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-dev
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
|
|