summaryrefslogtreecommitdiffstats
path: root/development
diff options
context:
space:
mode:
author Larry Hajali <larryhaja[at]gmail[dot]com>2015-07-15 22:22:15 +0700
committer Robby Workman <rworkman@slackbuilds.org>2015-07-16 10:57:25 -0500
commit4c127d47a8d43a77e6752b67d478089fdaa958a1 (patch)
treebceb6b93f9bec7ddc8f09408ca25ca080339868f /development
parent7fb04c44d21be424688879c1518e8805e9c43ae4 (diff)
downloadslackbuilds-4c127d47a8d43a77e6752b67d478089fdaa958a1.tar.gz
slackbuilds-4c127d47a8d43a77e6752b67d478089fdaa958a1.tar.xz
development/spyder: Updated for version 2.3.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/spyder/README4
-rw-r--r--development/spyder/spyder.SlackBuild21
-rw-r--r--development/spyder/spyder.info8
3 files changed, 17 insertions, 16 deletions
diff --git a/development/spyder/README b/development/spyder/README
index 7875cd2e34..5eb8f803a2 100644
--- a/development/spyder/README
+++ b/development/spyder/README
@@ -2,5 +2,5 @@ Spyder (previously known as Pydee) is a powerful interactive development
environment for the Python language with advanced editing, interactive testing,
debugging and introspection features.
-Optional dependencies for spyder are ipython, rope, matplotlib, numpy,
-pyflakes, pep8, pylint, Sphinx and scipy.
+Optional dependencies: ipython, rope, matplotlib, numpy, pyflakes, pep8,
+pylint, Sphinx and scipy
diff --git a/development/spyder/spyder.SlackBuild b/development/spyder/spyder.SlackBuild
index e022e9c6e9..99f5cf5b69 100644
--- a/development/spyder/spyder.SlackBuild
+++ b/development/spyder/spyder.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for spyder
-# Copyright 2010-2013 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2010-2015 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=spyder
-VERSION=${VERSION:-2.2.5}
+VERSION=${VERSION:-2.3.5.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,16 +64,15 @@ unzip $CWD/$PRGNAM-$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Sphinx craps out when files are in Windows format. We need to
# change doc/conf.py to Unix format. Simple hack! :/
for FILE in $(find . -type f \( ! -iname "*\.*o" ! -iname "*\.png" \) \
-| xargs grep -Pl '\r$');
-do
+ | xargs grep -Pl '\r$'); do
sed -i 's/\r//g' $FILE
done
@@ -88,10 +87,12 @@ for i in 16 24 32 36 48 64 96 128; do
done
install -D -m 0644 spyderlib/images/$PRGNAM.svg \
$PKG/usr/share/icons/hicolor/scalable/apps/$PRGNAM.svg
-rm -rf $PKG/usr/share/pixmaps
+
+# Remove unwanted files/directories.
+rm -rf $PKG/usr/share/pixmaps $PKG/usr/bin/spyder_win_post_install.py
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a PKG-INFO README LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a PKG-INFO README.md LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/development/spyder/spyder.info b/development/spyder/spyder.info
index 22325a7331..d7c52bb8a1 100644
--- a/development/spyder/spyder.info
+++ b/development/spyder/spyder.info
@@ -1,8 +1,8 @@
PRGNAM="spyder"
-VERSION="2.2.5"
-HOMEPAGE="http://code.google.com/p/spyderlib/"
-DOWNLOAD="http://spyderlib.googlecode.com/files/spyder-2.2.5.zip"
-MD5SUM="1c9aa650dae9f883616e917803f8a3be"
+VERSION="2.3.5.2"
+HOMEPAGE="https://github.com/spyder-ide/spyder"
+DOWNLOAD="https://bitbucket.org/spyder-ide/spyderlib/downloads/spyder-2.3.5.2.zip"
+MD5SUM="debf130130a7bef188b3bdfedb7b3c70"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""