Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Robert Buchholz <rbu@g.o>
Subject: Re: EAPI 3's default src_install needs bikeshedding
Date: Mon, 30 Mar 2009 20:51:25 +0200
On Monday 30 March 2009, Thomas Sachau wrote:
> Ciaran McCreesh schrieb:
> > So far, we've got this, by agreement of the Council:
> >
> > * There will be a default src_install in EAPI 3
> > * It will have a DOCS variable, or something along those lines.
> >
> > I'd like to suggest the following too:
> >
> > * If DOCS is explicitly specified, it is an error if anything in it
> >   doesn't exist.
> > * If DOCS isn't explicitly specified, it isn't an error if anything
> > in its default, if it has one, doesn't exist.
> >
> > We don't have an implementation yet. So I'll start off with this:
> >
> >     default_src_install() {
> >         emake -j1 DESTDIR="${D}" install
>
> Why do you want to force -j1 here?
>
> And i had this proposal some months ago, which noone argued against
> any more (the default list may of course be extended):
...

What Ciaran added was a way to disable installation of default DOCS. The 
implmenetation we discussed on the thread a while ago does not check 
whether DOCS is declared but empty.
I believe the way the DOCS variable is handled in the first example of 
the thread starter is good for a default_src_install although I don't 
know if we really need arrays. But why not? :-)


> So what about this funcion for the next EAPI and also implementation
> in base.eclass?

Why would you want to implement it in base.eclass when it's in EAPI=3? I 
can't think of a case where "inherit base" would make things easier 
than bumping to EAPI=3. In both cases, you might need to change logic 
within your ebuild and test it.


Robert
Attachment:
signature.asc (This is a digitally signed message part.)
Replies:
Re: EAPI 3's default src_install needs bikeshedding
-- Thomas Sachau
References:
EAPI 3's default src_install needs bikeshedding
-- Ciaran McCreesh
Re: EAPI 3's default src_install needs bikeshedding
-- Thomas Sachau
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: EAPI 3's default src_install needs bikeshedding
Next by thread:
Re: EAPI 3's default src_install needs bikeshedding
Previous by date:
Re: EAPI 3's default src_install needs bikeshedding
Next by date:
Re: Xorg 1.5.3 is going stable


Updated Jun 17, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.