Browse Source

l/scipy: Upgraded to scipy-1.0.1.

slackware-14.2
Damien Goutte-Gattat 4 years ago
parent
commit
44faab34cb
  1. 1
      l/scipy/scipy-0.17.1.tar.gz.sha1
  2. 1
      l/scipy/scipy-1.0.1.tar.gz.sha256
  3. 13
      l/scipy/scipy.SlackBuild

1
l/scipy/scipy-0.17.1.tar.gz.sha1

@ -1 +0,0 @@
e228065774d83c2ac37fc7914866532a777e511d scipy-0.17.1.tar.gz

1
l/scipy/scipy-1.0.1.tar.gz.sha256

@ -0,0 +1 @@
8739c67842ed9a1c34c62d6cca6301d0ade40d50ef14ba292bd331f0d6c940ba scipy-1.0.1.tar.gz

13
l/scipy/scipy.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014,2015,2016 Damien Goutte-Gattat
# Copyright (C) 2014-2016,2018 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,9 +28,9 @@
# Source package infos
NAMESRC=${NAMESRC:-scipy}
VERSION=${VERSION:-0.17.1}
VERSION=${VERSION:-1.0.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://github.com/scipy/scipy/releases/download/v$VERSION/$ARCHIVE}
WGET=${WGET:-https://pypi.python.org/packages/bd/f4/3882758754dc083fea6ea66a6e8ceef55e7df173d06a12a074612958800f/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-scipy}
@ -61,7 +61,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -80,6 +80,11 @@ install -m 644 HACKING.rst.txt LICENSE.txt PKG-INFO THANKS.txt \
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat > $PKG/install/slack-required <<EOF
numpy
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save