mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/spyder: Updated for version 2.3.5.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
7fb04c44d2
commit
4c127d47a8
3 changed files with 17 additions and 16 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue