Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-dev] [PATCH] estack.eclass: Split estack* logic from eutils
Date: Sat, 11 Mar 2017 14:25:38
In Reply to: [gentoo-dev] [PATCH] estack.eclass: Split estack* logic from eutils by "Michał Górny"
1 >>>>> On Sat, 11 Mar 2017, Michał Górny wrote:
3 > Split the estack_* and related functions from eutils into a
4 > dedicated estack.eclass. Those functions have significant complexity
5 > and are not used frequently, therefore they benefit from having a
6 > separate file and an explicit dedicated maintainer.
8 This (and the other new eclass as well) might benefit from protection
9 against inheriting it multiple times:
11 if [[ -z ${_ESTACK_ECLASS} ]]; then
13 # main eclass code here
14 fi