Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7
Date: Mon, 06 Aug 2018 19:52:10
Message-Id: 23400.42713.391648.504040@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] [PATCH] systemd.eclass: set BDEPEND for EAPI 7 by "Vadim A. Misbakh-Soloviov"
1 >>>>> On Mon, 06 Aug 2018, Vadim A Misbakh-Soloviov wrote:
2
3 > Anyway, I think, it is possible to add something like
4 > "EAPI=${EAPI:-0}" somewhere at the top of eclass, to don't call
5 > "${EAPI:-0}" each time when EAPI variable is needed.
6
7 No, that is not possible. Changing EAPI in an eclass would make the
8 inheriting ebuild invalid. See PMS section 7.3.1.
9
10 Ulrich