Browse Source

d/ipython: Upgraded to ipython-7.9.0.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
cbbc0849d2
  1. 1
      d/ipython/ipython-5.5.0.tar.gz.sha256
  2. 1
      d/ipython/ipython-7.9.0.tar.gz.sha256
  3. 31
      d/ipython/ipython.SlackBuild

1
d/ipython/ipython-5.5.0.tar.gz.sha256

@ -1 +0,0 @@
66469e894d1f09d14a1f23b971a410af131daa9ad2a19922082e02e0ddfd150f ipython-5.5.0.tar.gz

1
d/ipython/ipython-7.9.0.tar.gz.sha256

@ -0,0 +1 @@
dfd303b270b7b5232b3d08bd30ec6fd685d8a58cabd54055e3d69d8f029f7280 ipython-7.9.0.tar.gz

31
d/ipython/ipython.SlackBuild

@ -24,19 +24,18 @@
#
# Latest ipython sourcecode is available at: <http://ipython.org/>.
#
# Depends: l/python-backports, l/python-decorator, l/python-pickleshare
# Depends: l/python-simplegeneric, l/python-traitlets
# Depends: l/python-prompt-toolkit, l/python-pexpect, l/pygments
# Depends: l/pygments, l/python-backcall, l/python-decorator, l/python-jedi
# Depends: l/python-pexpect, l/python-pickleshare, l/python-prompt_toolkit
# Depends: l/python-traitlets
# Source package infos
NAMESRC=${NAMESRC:-ipython}
VERSION=${VERSION:-5.5.0}
VERSION=${VERSION:-7.9.0}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://pypi.python.org/packages/14/7c/bbc1e749e1739208324af3f05ac7256985e21fc5f24d3c8da20aae844ad0/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-ipython}
BUILD=${BUILD:-2GGD}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
EXT=${EXT:-txz}
@ -60,8 +59,7 @@ fi
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
pip3 download --no-binary :all: --no-deps $NAMESRC==$VERSION
fi
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -71,8 +69,9 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
python setup.py build
python setup.py install --root=$PKG
# IPython 7.x is Python 3 only
python3 setup.py build
python3 setup.py install --root=$PKG
# Move the documentation to the right place
mv $PKG/usr/share/man $PKG/usr/man
@ -80,21 +79,21 @@ rm -rf $PKG/usr/share
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$NAME
install -m 644 COPYING.rst README.rst $PKG/usr/doc/$NAME
install -m 644 COPYING.rst LICENSE README.rst $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat > $PKG/install/slack-required <<EOF
python-backports
pygments
python-backcall
python-decorator
python-jedi
python-pexpect
python-pickleshare
python-simplegeneric
python-prompt_toolkit
python-traitlets
python-prompt-toolkit
python-pexpect
pygments
EOF
# Package the tree

Loading…
Cancel
Save