summaryrefslogtreecommitdiffstats
path: root/academic/pysam/pysam.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'academic/pysam/pysam.SlackBuild')
-rw-r--r--academic/pysam/pysam.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/academic/pysam/pysam.SlackBuild b/academic/pysam/pysam.SlackBuild
index 369da78f83..2489d6cd26 100644
--- a/academic/pysam/pysam.SlackBuild
+++ b/academic/pysam/pysam.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for pysam
-# Copyright 2017-2021 Rob van Nues
+# Copyright 2017-2022 Rob van Nues
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pysam
-VERSION=${VERSION:-0.18.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.19.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,6 +80,11 @@ 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 now at htslib-1.15; SBo-htslib is at 1.15.1:
+# 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/*