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
Message-Id: 22724.2245.580774.926925@a1i15.kph.uni-mainz.de
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:
2
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.
7
8 This (and the other new eclass as well) might benefit from protection
9 against inheriting it multiple times:
10
11 if [[ -z ${_ESTACK_ECLASS} ]]; then
12 _ESTACK_ECLASS=1
13 # main eclass code here
14 fi