epatch.eclass: Split epatch* logic from eutils
authorMichał Górny <mgorny@gentoo.org>
Sat, 11 Mar 2017 13:31:19 +0000 (14:31 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 18 Mar 2017 07:33:16 +0000 (08:33 +0100)
commit04f4c6f616e2daa95c005ee93b626495681bd586
tree8700ac0c2dec65172dc5693efa39aa3597f7ee17
parentf7a4c94d344b6c73773bf83bd397ba468386e294
epatch.eclass: Split epatch* logic from eutils

Move epatch and epatch_user (along with the descriptions for all their
variables) into a dedicated epatch.eclass. This function is very
complex, therefore it benefits from separate eclass and a dedicated
maintainer. Furthermore, it is mostly obsoleted by eapply* in EAPI 6.

The new eclass is implicitly inherited by eutils to preserve
compatibility. However, the inherit will be removed in EAPI 7,
and the ebuilds should switch to inheriting epatch directly or using
eapply*.

Thanks to Ulrich Müller for doing the necessary research.
eclass/epatch.eclass [new file with mode: 0644]
eclass/eutils.eclass