Gentoo Archives: gentoo-dev

From: Matthias Schwarzott <zzam@g.o>
To: gentoo-dev@l.g.o
Cc: Peter Volkov <pva@g.o>
Subject: Re: [gentoo-dev] Re: Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009)
Date: Sat, 28 Feb 2009 13:21:07
Message-Id: 200902281421.00499.zzam@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Issues regarding glep-55 (Was: [gentoo-council] Re: Preliminary Meeting-Topics for 12 February 2009) by Peter Volkov
1 On Samstag, 28. Februar 2009, Peter Volkov wrote:
2 > В Втр, 24/02/2009 в 16:14 +0200, Serkan Kaba пишет:
3 > > lucene-contrib eclass in java-experimental [1] sets EAPI to 1 to use
4 > > slot deps. And I think that's a valid usage.
5 > >
6 > > 1:
7 > > http://overlays.gentoo.org/proj/java/browser/java-experimental/eclass/luc
8 > >ene-contrib.eclass
9 >
10 > It's better (the only way...) to die in case an ebuild sets lower EAPI,
11 > like kde4-functions.eclass does:
12 >
13 > case ${EAPI} in
14 > 2) : ;;
15 > *) die "No way! EAPI older than 2 is not supported." ;;
16 > esac
17
18 I still dislike die in global scope, why not do it like autotools.eclass?
19 It does:
20 DEPEND="INCORRECT-WANT_AUTOCONF-SETTING-IN-EBUILD"
21
22 Regards
23 Matthias