commit: d1b05bcf81e5058c20615179fb83a90c45daa487
Author: Mike Frysinger <vapier <AT> chromium <DOT> org>
AuthorDate: Tue May 9 02:34:53 2017 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue May 16 19:10:31 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1b05bcf
python-utils-r1.eclass: add more info to stub python wrappers
The short terse error messages here are not easy to track down. Add
a few more details so people can figure out what's going wrong faster.
eclass/python-utils-r1.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index c1349ff277b..0bf7e7ec1a3 100644
--- a/eclass/python-utils-r1.eclass
+++ b/eclass/python-utils-r1.eclass
@@ -1041,7 +1041,7 @@ python_wrapper_setup() {
for x in "${nonsupp[@]}"; do
cat >"${workdir}"/bin/${x} <<-_EOF_ || die
#!/bin/sh
- echo "${x} is not supported by ${EPYTHON}" >&2
+ echo "${ECLASS}: ${FUNCNAME}: ${x} is not
supported by ${EPYTHON} (PYTHON_COMPAT)" >&2
exit 127
_EOF_
chmod +x "${workdir}"/bin/${x} || die