Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCHES] Random issues and refactoring before EAPI6 series
Date: Mon, 18 Aug 2014 17:51:00
Message-Id: 1408384301-14588-1-git-send-email-mgorny@gentoo.org
1 dol-sen asked me to send all of them in a serie. Those are minor
2 bugfixes and code refactoring done to prepare for EAPI6 code.
3
4 1 & 2 cleans up econf. In EAPI6 we will likely be adding --docdir
5 and --htmldir there, so we should add it in nice code rather than
6 copying the bad one.
7
8 3-4 aim to clean up EAPI handling a bit. It's far from perfect, but 3 at
9 least fixes the bug that EAPI 5 is considered unsupported. Further
10 changes can be done in the future.
11
12 5 fixes PMS incompatibility that causes 'nonfatal' to prevent 'die' from
13 working correctly. I'm pretty sure the bug was mentioned by PMS team
14 already but nobody considered it important enough to report a bug. EAPI
15 6 'nonfatal die' support will land in place of that conditional.
16
17 6 aims to simplify the phase setting function that is hard to understand
18 and the moment, and has a few unnecessary, hard-to-understand side
19 effects like declaring non-existent __eapi2_src_*() phases. The new code
20 is much cleaner and makes adding new phases in future EAPIs trivial. It
21 also prevents from calling default_* function for another phase as
22 forbidden by PMS.
23
24 --
25 Michał Górny

Replies