Browse Source

l/numpy: Upgraded to numpy-1.18.5.

slackware-15.0
parent
commit
34a70eba71
  1. 1
      l/numpy/numpy-1.16.5.zip.sha256
  2. 1
      l/numpy/numpy-1.18.5.zip.sha256
  3. 10
      l/numpy/numpy.SlackBuild

1
l/numpy/numpy-1.16.5.zip.sha256

@ -1 +0,0 @@
8bb452d94e964b312205b0de1238dd7209da452343653ab214b5d681780e7a0c numpy-1.16.5.zip

1
l/numpy/numpy-1.18.5.zip.sha256

@ -0,0 +1 @@
34e96e9dae65c4839bd80012023aadd6ee2ccb73ce7fdf3074c62f301e63120b numpy-1.18.5.zip

10
l/numpy/numpy.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008-2013,2015,2016,2018,2019 Damien Goutte-Gattat
# Copyright (C) 2008-2013,2015,2016,2018-2020 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,8 @@
# Source package infos
NAMESRC=${NAMESRC:-numpy}
VERSION=${VERSION:-1.16.5}
VERSION=${VERSION:-1.18.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.zip}
WGET=${WGET:-https://files.pythonhosted.org/packages/db/ec/93ddd4696e9cce0ffb8429516a8ba0d0ee95911cbbadde2d23665b62ad39/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-numpy}
@ -72,8 +71,7 @@ esac
# 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=$NAMESRC-$VERSION
@ -85,8 +83,6 @@ unzip $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python2 setup.py build -j $JOBS
python2 setup.py install --root=$PKG
python3 setup.py build -j $JOBS
python3 setup.py install --root=$PKG

Loading…
Cancel
Save