aboutsummaryrefslogtreecommitdiff
path: root/development/spyder/spyder.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/spyder/spyder.SlackBuild')
-rw-r--r--development/spyder/spyder.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/development/spyder/spyder.SlackBuild b/development/spyder/spyder.SlackBuild
index 8e1f892b7fa93..d841e7db15f03 100644
--- a/development/spyder/spyder.SlackBuild
+++ b/development/spyder/spyder.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=spyder
-VERSION=${VERSION:-2.1.7}
+VERSION=${VERSION:-2.1.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -53,8 +53,9 @@ find . \
# Sphinx craps out when files are in Windows format. We need to
# change doc/conf.py to Unix format. Simple hack! :/
-find . -type f \( ! -iname "*.png" ! -iname "*.svg" ! -iname "*.ico" \) \
- -exec sed -i 's/\r//g' '{}' \;
+for FILE in $(find . -type f -exec grep -Pl '\r\n' {} \;); do
+ sed -i 's/\r//g' $FILE
+done
# Use the license found in the __init__.py file
cat spyderlib/__init__.py | head -n 27 | tail -n 25 > LICENSE