aboutsummaryrefslogtreecommitdiff
path: root/development/python3-numpy/python3-numpy.SlackBuild
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2023-11-26 15:17:35 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-12-02 07:54:29 +0700
commit72f702f2ae2817750201376ee305c211b9d7fd58 (patch)
tree8fd4385b7edfd9bc15dea988851f59f3ca9ff5cf /development/python3-numpy/python3-numpy.SlackBuild
parent8f974509c86b98d71f72dd44a360bcba43c8caeb (diff)
development/python3-numpy: Updated for version 1.26.0
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/python3-numpy/python3-numpy.SlackBuild')
-rw-r--r--development/python3-numpy/python3-numpy.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/development/python3-numpy/python3-numpy.SlackBuild b/development/python3-numpy/python3-numpy.SlackBuild
index 7493fb1dbc..47f554b31c 100644
--- a/development/python3-numpy/python3-numpy.SlackBuild
+++ b/development/python3-numpy/python3-numpy.SlackBuild
@@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-numpy
SRCNAM=numpy
-VERSION=${VERSION:-1.24.4}
+VERSION=${VERSION:-1.26.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -123,13 +123,15 @@ case "$DEBUG" in
esac
if [ ! "$DEBUG" ]; then
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py install --root $PKG
+ NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 -m build --wheel --no-isolation -Csetup-args="-Dallow-noblas=true"
+ python3 -m installer -d "$PKG" dist/*.whl
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
else
- NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py build --debug
- python3 setup.py install --root $PKG
+ #NPY_RELAXED_STRIDES_CHECKING=${NPY_RSC:-1} python3 setup.py build --debug
+ #python3 setup.py install --root $PKG
+ echo "debug here"
fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION