Browse Source

l/numpy: Upgraded to numpy-1.16.5.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
5a1327e3a2
  1. 1
      l/numpy/numpy-1.15.1.zip.sha256
  2. 1
      l/numpy/numpy-1.16.5.zip.sha256
  3. 13
      l/numpy/numpy.SlackBuild

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

@ -1 +0,0 @@
7b9e37f194f8bcdca8e9e6af92e2cbad79e360542effc2dd6b98d63955d8d8a3 numpy-1.15.1.zip

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

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

13
l/numpy/numpy.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2008-2010,2012,2013,2015,2016,2018 Damien Goutte-Gattat
# Copyright (C) 2008-2013,2015,2016,2018,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -28,14 +28,15 @@
# Source package infos
NAMESRC=${NAMESRC:-numpy}
VERSION=${VERSION:-1.15.1}
VERSION=${VERSION:-1.16.5}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.zip}
WGET=${WGET:-https://files.pythonhosted.org/packages/65/ab/4dfcc20234fae12ee40c714b98077d6e3a10652496bd1488fa4828529b22/$ARCHIVE}
WGET=${WGET:-https://files.pythonhosted.org/packages/db/ec/93ddd4696e9cce0ffb8429516a8ba0d0ee95911cbbadde2d23665b62ad39/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-numpy}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-$(uname -m | sed 's/^i.86$/i486/;s/^arm.*/arm/')}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
@ -84,8 +85,10 @@ unzip $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python setup.py build
python setup.py install --root=$PKG
python2 setup.py build -j $JOBS
python2 setup.py install --root=$PKG
python3 setup.py build -j $JOBS
python3 setup.py install --root=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME

Loading…
Cancel
Save