aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2024-08-16 12:49:21 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-17 18:14:34 +0700
commit988555075ac474c3410f93c79eb96aaddb911fc4 (patch)
treead235aa319b6b1229ed6d099c0a7782348c3d8cb
parent21fef03d00f4c48d8226d7847f425e7d44cf0ae2 (diff)
development/python3-numpy: Add symlink for includes
Signed-off-by: Christoph Willing <chris.willing@linux.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/python3-numpy/README2
-rw-r--r--development/python3-numpy/python3-numpy.SlackBuild7
2 files changed, 7 insertions, 2 deletions
diff --git a/development/python3-numpy/README b/development/python3-numpy/README
index 969f8d5b8386..6268d4ec9a0c 100644
--- a/development/python3-numpy/README
+++ b/development/python3-numpy/README
@@ -28,7 +28,7 @@ numpy.
IMPORTANT: The version installed by this SlackBuild does NOT include the
oldnumeric and numarray compatibility modules since
- starting with version 1.9.0 these modules was removed by
+ (starting with version 1.9.0) these modules were removed by
the numpy developers. If you need these compatibility
modules please consider the numpy-legacy SlackBuild which
is available for python2 only and does not conflict with this
diff --git a/development/python3-numpy/python3-numpy.SlackBuild b/development/python3-numpy/python3-numpy.SlackBuild
index b33678885177..e3a11ce05af5 100644
--- a/development/python3-numpy/python3-numpy.SlackBuild
+++ b/development/python3-numpy/python3-numpy.SlackBuild
@@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=python3-numpy
SRCNAM=numpy
VERSION=${VERSION:-1.26.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -125,6 +125,11 @@ else
echo "debug here"
fi
+mkdir -p $PKG/usr/include
+cd $PKG/usr/include
+ ln -s $(ls -d /usr/lib${LIBDIRSUFFIX}/python3.*/site-packages)/numpy/core/include/numpy
+cd -
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CITATION.bib INSTALL.rst LICENSE.txt README.md THANKS.txt \
$PKG/usr/doc/$PRGNAM-$VERSION