The script spe that is installed to /usr/bin is for windows and therefore does not work. The attached ebuild fixes this. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 19616 [details] spe-0.4.1d-r1.ebuild
Thanks Tina, I added your change.
Now admittedly I never got this ebuild to work, but a couple concerns struck me that might matter who those who do: 1) The SPE package includes wxGlade (bug#29002), so perhaps either (a) the SPE ebuild should inject wxGlade into the list of installed packages, or (b) make wxGlade a dependency, so that the wxGlade ebuild has exclusive right to install it, and the SPE ebuild might delete SPE's wxGlade files before installing, and create a symlink to the actual wxGlade installation. 2) The SPE-*.zip package consists entirely of files in DOS text format. Perhaps dos2unix should be made a dependency, and the files should be converted to unix format, to avoid inconsistencies. I have found trouble, for example, running diff on a mixture of dos and unix text files. As an aside, there ought to be a doc somewhere that discusses using and testing ebuilds downloaded from bugs.gentoo.org .
1) I'll ask the author of spe what he plans to do with wxGlade in the future. 2) spe isn't the only package with this "problem", it's the same with e.g. boa - the wxpython ide. As long as you don't want to execute such a file from the shell it doesn't matter anyway. python has no problems with those lineendings. Only the startscript /usr/bin/spe needs to be correct (and which this patch was for). Btw. there exists a new spe version and I'm going to submit a new ebuild for this soon (if this hasn't already been done).