summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2017-05-08 22:34:53 -0400
committerMike Frysinger <vapier@gentoo.org>2017-05-16 15:10:31 -0400
commitd1b05bcf81e5058c20615179fb83a90c45daa487 (patch)
tree3983cf83fb1a4acc7af45f8ac8affb53f8a8da53 /eclass/python-utils-r1.eclass
parentkde-frameworks/kdelibs: Drop vulnerable (diff)
downloadgentoo-d1b05bcf81e5058c20615179fb83a90c45daa487.tar.gz
gentoo-d1b05bcf81e5058c20615179fb83a90c45daa487.tar.bz2
gentoo-d1b05bcf81e5058c20615179fb83a90c45daa487.zip
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.
Diffstat (limited to 'eclass/python-utils-r1.eclass')
-rw-r--r--eclass/python-utils-r1.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass
index c1349ff277b0..0bf7e7ec1a3e 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