[gentoo-portage-dev] [PATCH 02/18] Apply 'nonfatal' to helpers only

2014-12-01 Thread Michał Górny
Make 'nonfatal' modifier affect helpers only rather than disabling 'die' completely. This improves the PMS conformance. --- bin/isolated-functions.sh | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index

[gentoo-portage-dev] [PATCH 00/18] Updated EAPI 6 patch set

2014-12-01 Thread Michał Górny
Hi, I've merged the remaining pre-EAPI 6 cleanup with the EAPI 6 patch set, and rebased it on top of master. Other changes since the previous set: 1. fixed Portage helpers to respect nonfatal properly, 2. removed '--respect-nonfatal' long option from 'die' -- ulm has suggested that we support

[gentoo-portage-dev] [PATCH 01/18] Respect nonfatal in unpack(), econf() and einstall()

2014-12-01 Thread Michał Górny
--- bin/isolated-functions.sh | 11 -- bin/phase-helpers.sh | 87 ++- 2 files changed, 73 insertions(+), 25 deletions(-) diff --git a/bin/isolated-functions.sh b/bin/isolated-functions.sh index 42bf05d..ed96bd0 100644 ---

[gentoo-portage-dev] [PATCH 04/18] Add tentative support for EAPI6 --docdir and --htmldir

2014-12-01 Thread Michał Górny
Pass --docdir and --htmldir to configure scripts that support it. --- bin/eapi.sh | 4 bin/phase-helpers.sh | 12 +++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/bin/eapi.sh b/bin/eapi.sh index 623b89f..5f96c3b 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh

[gentoo-portage-dev] [PATCH 10/18] Enable tentative support for EAPI6 profile-level directories

2014-12-01 Thread Michał Górny
Enable the support for package.* and use.* directories on profile and repository level. --- pym/portage/eapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/eapi.py b/pym/portage/eapi.py index 4f77910..7217d23 100644 --- a/pym/portage/eapi.py +++

[gentoo-portage-dev] [PATCH 09/18] Enable tentative EAPI6 failglob in global scope

2014-12-01 Thread Michał Górny
Enable failglob in global scope to catch unintended globbing attempts including unescaped special uses of '*'. --- bin/eapi.sh | 4 bin/ebuild.sh | 11 +++ 2 files changed, 15 insertions(+) diff --git a/bin/eapi.sh b/bin/eapi.sh index 6e78750..fa57999 100644 --- a/bin/eapi.sh +++

[gentoo-portage-dev] [PATCH 13/18] Add tentative EAPI6 nonfatal support to die()

2014-12-01 Thread Michał Górny
Add support for die() to respect 'nonfatal' modifier if '--respect-nonfatal' (or '-n') option is used. This allows eclasses to create custom ebuild helpers that mimic built-in helper behavior. --- bin/eapi.sh | 4 bin/isolated-functions.sh | 7 +++ 2 files changed, 11

[gentoo-portage-dev] [PATCH 12/18] Add tentative EAPI6 absolute path support to unpack()

2014-12-01 Thread Michał Górny
Add support for absolute paths in unpack(). Allow subdirectory-level relative paths not to start with './'. --- bin/eapi.sh | 4 bin/phase-helpers.sh | 29 ++--- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/bin/eapi.sh b/bin/eapi.sh index

[gentoo-portage-dev] [PATCH 07/18] Add tentative support for EAPI6 eapply function

2014-12-01 Thread Michał Górny
Add the eapply patch applying function. --- bin/eapi.sh | 4 bin/phase-helpers.sh | 62 2 files changed, 66 insertions(+) diff --git a/bin/eapi.sh b/bin/eapi.sh index 978a410..8bb 100644 --- a/bin/eapi.sh +++ b/bin/eapi.sh

[gentoo-portage-dev] [PATCH 16/18] Disallow helpers in global scope in EAPI 6

2014-12-01 Thread Michał Górny
Disallow calling most of the ebuild helpers in global scope since they are meaningless in that context. Most of them are also prohibited by PMS for all EAPIs, so EAPI 6 sounds like a good moment to finally enforce that restriction. --- bin/eapi.sh | 2 +- 1 file changed, 1 insertion(+), 1