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.
This commit is contained in:
Mike Frysinger
2017-05-16 15:10:31 -04:00
committed by Mike Frysinger
parent 3cde424f20
commit d1b05bcf81
+1 -1
View File
@@ -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