aboutsummaryrefslogtreecommitdiff
path: root/academic/pysam/pysam.SlackBuild
diff options
context:
space:
mode:
authorbrobr <sborg63@disroot.org>2025-03-30 15:12:01 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2025-03-31 08:17:12 +0700
commit53d8d2c07950751946c1d65a1a3cb98a095565bd (patch)
tree786a0cdf8cbdf1fda3c6e42531e04aaa9b27b95b /academic/pysam/pysam.SlackBuild
parent94edd70f436fd39e0eca3631307bb04790612376 (diff)
academic/pysam: upgraded to version 0.23.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/pysam/pysam.SlackBuild')
-rw-r--r--academic/pysam/pysam.SlackBuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/academic/pysam/pysam.SlackBuild b/academic/pysam/pysam.SlackBuild
index b0b447ac98..4f6d0a4fd4 100644
--- a/academic/pysam/pysam.SlackBuild
+++ b/academic/pysam/pysam.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pysam
-# Copyright 2017-2023 Rob van Nues
+# Copyright 2017-2025 Rob van Nues
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pysam
-VERSION=${VERSION:-0.22.1}
+VERSION=${VERSION:-0.23.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -77,7 +77,10 @@ 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 {} \;
-# pysam linked to htslib-1.17; SBo-htslib is at 1.18
+# pysam now at htslib-1.21; SBo-htslib is at 1.21:
+# can use system htslib:
+export HTSLIB_LIBRARY_DIR=/usr/lib$LIBDIRSUFFIX
+export HTSLIB_INCLUDE_DIR=/usr/include
#the source does not allow 'read' to 'other', which could cause a problem on reloading a Jupyter-notebook
chmod 644 pysam.egg-info/*
@@ -89,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- README.rst INSTALL COPYING \
+ README.rst COPYING \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild