aboutsummaryrefslogtreecommitdiff
path: root/development/spyder/spyder.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-04-30 21:21:33 -0500
committerErik Hanson <erik@slackbuilds.org>2012-04-30 21:21:33 -0500
commit70ba43537a753ce586b34371b5b14e06fc263e89 (patch)
treebefe29f495c3def0729e6b6e407713caf7b2bb15 /development/spyder/spyder.SlackBuild
parent15a6fb4a5003a1dbe77f3d3e8b9e5d49d9ad5631 (diff)
development/spyder: Updated for version 2.1.9.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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