diff options
Diffstat (limited to 'development/python3-numpy/python3-numpy.SlackBuild')
-rw-r--r-- | development/python3-numpy/python3-numpy.SlackBuild | 10 |
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 |