estack.eclass: Split estack* logic from eutils
authorMichał Górny <mgorny@gentoo.org>
Sat, 11 Mar 2017 13:25:42 +0000 (14:25 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 18 Mar 2017 07:33:16 +0000 (08:33 +0100)
commitf7a4c94d344b6c73773bf83bd397ba468386e294
treec6f666a98059eae3eb2afabc621f4ef4a89f789e
parent650a1ebe8f63d3750908142e2117b24a8efc9403
estack.eclass: Split estack* logic from eutils

Split the estack_* and related functions from eutils into a dedicated
estack.eclass. Those functions have significant complexity and are not
used frequently, therefore they benefit from having a separate file
and an explicit dedicated maintainer.

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 using estack directly.

Thanks to Ulrich Müller for doing the research on this.
eclass/estack.eclass [new file with mode: 0644]
eclass/eutils.eclass
eclass/tests/estack_eshopts.sh [moved from eclass/tests/eutils_eshopts.sh with 93% similarity]
eclass/tests/estack_estack.sh [moved from eclass/tests/eutils_estack.sh with 93% similarity]
eclass/tests/estack_evar.sh [moved from eclass/tests/eutils_evar.sh with 96% similarity]