aboutsummaryrefslogtreecommitdiff
path: root/academic/pysam/pysam.SlackBuild
diff options
context:
space:
mode:
authorbrobr <sborg63@disroot.org>2022-05-19 23:53:21 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-21 08:25:05 +0700
commit215dfddbe284fa193a46b2791357387f1cd31cdf (patch)
tree896b2c9cb81f089906ab240c941763f4fc62eeca /academic/pysam/pysam.SlackBuild
parent6022d411cbf5757090d7e84c8b6561565e6d2841 (diff)
academic/pysam: Updated for version 0.19.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> 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, 8 insertions, 3 deletions
diff --git a/academic/pysam/pysam.SlackBuild b/academic/pysam/pysam.SlackBuild
index 369da78f83c8..2489d6cd265b 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/*