projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cde424
)
python-utils-r1.eclass: add more info to stub python wrappers
author
Mike Frysinger
<vapier@chromium.org>
Tue, 9 May 2017 02:34:53 +0000
(22:34 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 16 May 2017 19:10:31 +0000
(15:10 -0400)
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
patch
|
blob
|
history
diff --git
a/eclass/python-utils-r1.eclass
b/eclass/python-utils-r1.eclass
index c1349ff277b0b0b083c04cd5ca55cfe25b56f5b6..0bf7e7ec1a3e35dde616c3a02736e3d49c38e174 100644
(file)
--- 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