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>
This commit is contained in:
Andrew Clemons 2024-06-10 20:04:45 +09:00 committed by Willy Sudiarto Raharjo
parent ed7c3a7762
commit 708fd48d49
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 3 additions and 2 deletions

View file

@ -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" \

View file

@ -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"