python/ipython: Upgraded for version 7.22.0.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
This commit is contained in:
parent
2de3a2a57e
commit
08b2c99d10
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# SlackBuild for IPython
|
||||
# SlackBuild for ipython
|
||||
|
||||
# Copyright 2008-2011 Carlos Corbacho <carlos@strangeworlds.co.uk>
|
||||
# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# Copyright 2013-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -24,8 +24,8 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=ipython
|
||||
VERSION=${VERSION:-5.8.0}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-7.22.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -40,7 +40,6 @@ CWD=$(pwd)
|
|||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
DOCS=${DOCS:-no}
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -57,15 +56,13 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
python2 setup.py install --root="$PKG"
|
||||
rm $PKG/usr/bin/ipython
|
||||
python3 setup.py install --root="$PKG"
|
||||
rm $PKG/usr/bin/iptest*
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
mv $PKG/usr/share/man/man1/$PRGNAM.1 $PKG/usr/man/man1/${PRGNAM}2.1
|
||||
mv $PKG/usr/share/man $PKG/usr
|
||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="ipython"
|
||||
VERSION="5.8.0"
|
||||
VERSION="7.22.0"
|
||||
HOMEPAGE="http://ipython.org"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipython/ipython-5.8.0.tar.gz"
|
||||
MD5SUM="7014b8824981eef2cb893ea5398d6b8d"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/source/i/ipython/ipython-7.22.0.tar.gz"
|
||||
MD5SUM="852137f493e62e5730a1245cd91e0636"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="decorator jedi pexpect pickleshare prompt_toolkit1 Pygments shutil_get_terminal_size simplegeneric traitlets"
|
||||
REQUIRES="decorator ipython_genutils python3-jedi python3-pexpect pickleshare python3-prompt_toolkit simplegeneric traitlets backcall"
|
||||
MAINTAINER="Benjamin Trigona-Harany"
|
||||
EMAIL="slackbuilds@jaxartes.net"
|
||||
|
|
Loading…
Reference in New Issue