aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorbrobr <sborg63@disroot.org>2023-09-17 21:55:05 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-09-23 08:31:12 +0700
commit8a052f20110a877dc440589795eef3b0004ed564 (patch)
tree4844143e1c0c23eb496bdbd0a0c76d0090711cd6 /academic
parent6bb11f8730c30614c69ea0178a062ffaecc5221f (diff)
academic/pysam: set to use internal htslib
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/pysam/pysam.SlackBuild7
-rw-r--r--academic/pysam/pysam.info2
2 files changed, 3 insertions, 6 deletions
diff --git a/academic/pysam/pysam.SlackBuild b/academic/pysam/pysam.SlackBuild
index b4a536bcb25b..17d0db3198a0 100644
--- a/academic/pysam/pysam.SlackBuild
+++ b/academic/pysam/pysam.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pysam
VERSION=${VERSION:-0.21.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,10 +80,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 {} \;
-# pysam now at htslib-1.17; SBo-htslib is at 1.17:
-# can use system htslib:
-export HTSLIB_LIBRARY_DIR=/usr/lib$LIBDIRSUFFIX
-export HTSLIB_INCLUDE_DIR=/usr/include
+# pysam linked to htslib-1.17; SBo-htslib is at 1.18
#the source does not allow 'read' to 'other', which could cause a problem on reloading a Jupyter-notebook
chmod 644 pysam.egg-info/*
diff --git a/academic/pysam/pysam.info b/academic/pysam/pysam.info
index 37d066c02003..d71c4d96bde8 100644
--- a/academic/pysam/pysam.info
+++ b/academic/pysam/pysam.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://pypi.python.org/packages/source/p/pysam/pysam-0.21.0.tar.gz"
MD5SUM="dca7fb36d2cf69ef887fe05ddd726998"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="htslib"
+REQUIRES=""
MAINTAINER="Rob van Nues"
EMAIL="sborg63@disroot.org"