diff options
author | Christoph Willing <chris.willing@linux.com> | 2023-11-26 15:17:35 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-12-02 07:54:29 +0700 |
commit | 72f702f2ae2817750201376ee305c211b9d7fd58 (patch) | |
tree | 8fd4385b7edfd9bc15dea988851f59f3ca9ff5cf | |
parent | 8f974509c86b98d71f72dd44a360bcba43c8caeb (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>
-rw-r--r-- | development/python3-numpy/python3-numpy.SlackBuild | 10 | ||||
-rw-r--r-- | development/python3-numpy/python3-numpy.info | 8 |
2 files changed, 10 insertions, 8 deletions
diff --git a/development/python3-numpy/python3-numpy.SlackBuild b/development/python3-numpy/python3-numpy.SlackBuild index 7493fb1dbccb..47f554b31cd2 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 diff --git a/development/python3-numpy/python3-numpy.info b/development/python3-numpy/python3-numpy.info index 2a7532d6f52d..609639fafea1 100644 --- a/development/python3-numpy/python3-numpy.info +++ b/development/python3-numpy/python3-numpy.info @@ -1,10 +1,10 @@ PRGNAM="python3-numpy" -VERSION="1.24.4" +VERSION="1.26.0" HOMEPAGE="https://www.numpy.org/" -DOWNLOAD="https://github.com/numpy/numpy/releases/download/v1.24.4/numpy-1.24.4.tar.gz" -MD5SUM="3f3995540a17854a29dc79f8eeecd832" +DOWNLOAD="https://github.com/numpy/numpy/releases/download/v1.26.0/numpy-1.26.0.tar.gz" +MD5SUM="69bd28f07afbeed2bb6ecd467afcd469" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="python3-mesonpy" MAINTAINER="Christoph Willing" EMAIL="chris.willing@linux.com" |