aboutsummaryrefslogtreecommitdiff
path: root/libraries/plastid
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2024-06-10 20:04:45 +0900
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-06-15 07:38:27 +0700
commit708fd48d493e50a1cca00f758b213d130e32d2d5 (patch)
treef42bbe08c8145c8fa1ee565ca8c3831271311b6a /libraries/plastid
parented7c3a7762b47bd50c0e56f986f479788ad98429 (diff)
libraries/plastid: Build against python3-numpy-legacy.
This package is incompatible with later version of numpy. See upstream ticket: https://github.com/joshuagryphon/plastid/issues/55 Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/plastid')
-rw-r--r--libraries/plastid/plastid.SlackBuild3
-rw-r--r--libraries/plastid/plastid.info2
2 files changed, 3 insertions, 2 deletions
diff --git a/libraries/plastid/plastid.SlackBuild b/libraries/plastid/plastid.SlackBuild
index 3bb55e3a25..23b9c8916a 100644
--- a/libraries/plastid/plastid.SlackBuild
+++ b/libraries/plastid/plastid.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=plastid
VERSION=${VERSION:-0.6.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -81,6 +81,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+export PYTHONPATH=/opt/python3-numpy-legacy/usr/lib$LIBDIRSUFFIX/
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/libraries/plastid/plastid.info b/libraries/plastid/plastid.info
index b5922ce6b9..7e6f2936fe 100644
--- a/libraries/plastid/plastid.info
+++ b/libraries/plastid/plastid.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://github.com/joshuagryphon/plastid/archive/d97f239d73b3a7c2eff46
MD5SUM="48a01a3816a787a5fade529fbf1866c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="pysam python3-numpy"
+REQUIRES="pysam python3-numpy-legacy"
MAINTAINER="William PC"
EMAIL="w_calandrini[at]hotmail[dot]com"