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: Donnie Berkholz <dberkholz@g.o>
Subject: Re: Gentoo Council Reminder for March 26
Date: Thu, 26 Mar 2009 19:12:42 +0100
On 12:25 Mon 23 Mar     , Robert Buchholz wrote:
> On Monday 23 March 2009, Tiziano Müller wrote:
> > Spec needed. DOCS or no DOCS?
> 
> DOCS, and non-empty default value, please [1].
> Some eclasses already do this (not base, but others), and if that 
> default doesn't cover it for you, the function can be overridden.
> 
> Concerning the argument of declarative ebuilds vs. bash-oriented ebuilds 
> brought up by Donnie: Our ebuilds always had declarative parts with an 
> impact on the PM (e.g. RESTRICT), or on eclasses (WANT_AUTOCONF, or 
> look at the games eclass).
> I think if we stay within sane limits[2], following this paradigm is 
> going to help developers because more simple cases will be caught by 
> the default implementation without adding the complexities of having to 
> know tons of (aka "more than one") variables and how they interact.

I probably would have agreed with you a few EAPIs ago where stuff was 
more painful. Take a look at this, though -- it doesn't seem so bad to 
me in a non-DOCS, EAPI=3 world:

src_install() {
	default
	dodoc foo bar
}

-- 
Thanks,
Donnie

Donnie Berkholz
Developer, Gentoo Linux
Blog: http://dberkholz.wordpress.com
Attachment:
pgpu6CdXeZFct.pgp (PGP signature)
Replies:
Re: Gentoo Council Reminder for March 26
-- Tiziano Müller
References:
Gentoo Council Reminder for March 26
-- Donnie Berkholz
Re: Gentoo Council Reminder for March 26
-- Ciaran McCreesh
Re: Gentoo Council Reminder for March 26
-- Tiziano Müller
Re: Gentoo Council Reminder for March 26
-- Robert Buchholz
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Gentoo Council Reminder for March 26
Next by thread:
Re: Gentoo Council Reminder for March 26
Previous by date:
Re: Gentoo Council Reminder for March 26
Next by date:
Re: Gentoo Council Reminder for March 26


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.