diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2021-04-17 20:45:38 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 02:00:24 -0500 |
commit | 08b2c99d10df97c8fe29beab02304742be8c1616 (patch) | |
tree | a6d07b409c51fc8c9d76787e99466fd7641415ec /python/ipython/ipython.SlackBuild | |
parent | 2de3a2a57e13175ad5a83920bea60e5de857ea85 (diff) |
python/ipython: Upgraded for version 7.22.0.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'python/ipython/ipython.SlackBuild')
-rw-r--r-- | python/ipython/ipython.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/python/ipython/ipython.SlackBuild b/python/ipython/ipython.SlackBuild index c2e72529af244..948ed713ca3c9 100644 --- a/python/ipython/ipython.SlackBuild +++ b/python/ipython/ipython.SlackBuild @@ -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 |