Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: Gentoo Dev <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] [PATCH 1/1] kernel-2.eclass: Support EAPI 6 when applying user patches.
Date: Mon, 28 Nov 2016 02:06:42
Message-Id: CAJ0EP42ojSfJxJs2zAu6K3+GKEAbkpPzD_72p+BRno7_-Qr7_w@mail.gmail.com
In Reply to: [gentoo-dev] [PATCH 1/1] kernel-2.eclass: Support EAPI 6 when applying user patches. by Mike Pagano
1 On Sun, Nov 27, 2016 at 7:23 PM, Mike Pagano <mpagano@g.o> wrote:
2 > If kernel-2_src_unpack() is called in EAPI6, epatch_user() function
3 > inherited from eutils.eclass is undefined.
4 > See bug #579188
5
6 kernel-2.eclass currently calls die in global scope for EAPI 6, so
7 this change has no real effect.
8
9 I would suggest modernizing the eclass before allowing it to be used
10 with EAPI 6. For example, patches should be applied in src_prepare,
11 not src_unpack.

Replies