summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* estack.eclass: Use 'shopt -p -o' to restore 'set' flagsMichał Górny2017-04-141-7/+2
| | | | | | Use 'shopt -p -o' to obtain the current set of 'set' flags, and to restore them on popping. Unlike $-, it is output in command form (alike 'shopt -p'), removing the need for separate logic in eshopts_pop.
* estack.eclass: Split estack* logic from eutilsMichał Górny2017-03-181-0/+217
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.