Sanitize insopts/exeopts when calling doins/doexe, in order to avoid
prior insopts calls accidentally affecting do*/new* functions defined
by the eclass.
---
eclass/python-utils-r1.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index 3a462e34614a..c57b9117bf6f 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -789,6 +789,7 @@ python_newexe() {
(
dodir "${wrapd}"
+ exeopts
exeinto "${d}"
newexe "${f}" "${newfn}" || return ${?}
)
@@ -920,6 +921,7 @@ python_domodule() {
fi
(
+ insopts
insinto "${d}"
doins -r "${@}" || return ${?}
)
@@ -954,6 +956,7 @@ python_doheader() {
d=${PYTHON_INCLUDEDIR#${EPREFIX}}
(
+ insopts
insinto "${d}"
doins -r "${@}" || return ${?}
)
--
2.18.0.rc1