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
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
---
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
---
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
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
+++
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
+++
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
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
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
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
10 matches
Mail list logo