Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7
Date: Thu, 09 Aug 2018 12:22:27
Message-Id: 703996b6-c381-a178-cce3-5af44a534996@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7 by "Toralf Förster"
1 On 08/06/2018 04:23 PM, Toralf Förster wrote:
2 > On 08/06/2018 10:09 PM, Alec Warner wrote:
3 >>
4 >> They do not even do so by convention; there are numerous EAPIs in the
5 >> wild that are non-numeric.
6 >
7 > Then this line
8 >
9 > if [[ ${EAPI} == [0123456] ]]; then
10 >
11 > is a short-term solution, right?
12
13 Presumably any new EAPIs will want BDEPEND rather than DEPEND, and
14 there's a complete whitelist,
15
16 case ${EAPI:-0} in
17 0|1|2|3|4|5|6|7) ;;
18
19 of supported EAPIs at the top of the eclass. So it will probably do the
20 right thing for a new EAPI, but somebody's going to have to read the
21 code and think about it when the time comes anyway.