Gentoo Archives: gentoo-portage-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] EAPI 6: Fail if eapply_user is not called in src_prepare()
Date: Wed, 18 Nov 2015 07:29:24
Message-Id: 22092.10444.540147.390684@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-portage-dev] [PATCH] EAPI 6: Fail if eapply_user is not called in src_prepare() by Zac Medico
1 >>>>> On Tue, 17 Nov 2015, Zac Medico wrote:
2
3 >> What happens if an ebuild calls eapply_user in src_unpack but not
4 >> in src_prepare?
5
6 > It will succeed in that case.
7
8 It should die if it isn't called in src_prepare.
9
10 > If necessary, we can make eapply_user die if it's called during the
11 > wrong phase.
12
13 That's not really mandated by the spec, but I think such extra
14 strictness would be a good idea.
15
16 Ulrich