Browse Source

l/numexpr: Upgraded to numexpr-2.7.1.

slackware-15.0
parent
commit
7bd75b6d19
  1. 1
      l/numexpr/numexpr-2.7.0.tar.gz.sha256
  2. 1
      l/numexpr/numexpr-2.7.1.tar.gz.sha256
  3. 12
      l/numexpr/numexpr.SlackBuild

1
l/numexpr/numexpr-2.7.0.tar.gz.sha256

@ -1 +0,0 @@
37324b5981b8962102bdc8640c4f05f5589da5d1df2702418783085cb78ca217 numexpr-2.7.0.tar.gz

1
l/numexpr/numexpr-2.7.1.tar.gz.sha256

@ -0,0 +1 @@
b0d239d9827e1bcee08344fd05835823bc60aff97232e35a928214d03ff802b1 numexpr-2.7.1.tar.gz

12
l/numexpr/numexpr.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2012,2013,2015,2016,2019 Damien Goutte-Gattat
# Copyright (C) 2012,2013,2015,2016,2019,2020 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,9 +29,8 @@
# Source package infos
NAMESRC=${NAMESRC:-numexpr}
VERSION=${VERSION:-2.7.0}
VERSION=${VERSION:-2.7.1}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.gz}
WGET=${WGET:-https://files.pythonhosted.org/packages/87/91/9e6305ec0f0560bf2c3730ad0b5ff3c8d6b48b442a830ff506bc6c829ac0/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-numexpr}
@ -75,8 +74,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=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
@ -88,10 +86,6 @@ tar xf $CWD/$ARCHIVE
cd $NAME
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python2 setup.py build -j $JOBS
python2 setup.py install --root=$PKG
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
python3 setup.py build -j $JOBS
python3 setup.py install --root=$PKG

Loading…
Cancel
Save