summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorLevi Baber <baberlevi@gmail.com>2018-04-26 17:17:00 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2018-04-26 17:17:00 -0500
commit310addea9160b45a22c3d74cdf57006836b75922 (patch)
treeaa57a42d4e140cbe4bba8dfd34148053f5ad7356 /var
parent963c103a67725f3c2fc4da64dd774085876fafca (diff)
downloadspack-310addea9160b45a22c3d74cdf57006836b75922.tar.gz
spack-310addea9160b45a22c3d74cdf57006836b75922.tar.bz2
spack-310addea9160b45a22c3d74cdf57006836b75922.tar.xz
spack-310addea9160b45a22c3d74cdf57006836b75922.zip
samtools: new version (#7921)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/samtools/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/samtools/package.py b/var/spack/repos/builtin/packages/samtools/package.py
index 3db0999912..7e912e832c 100644
--- a/var/spack/repos/builtin/packages/samtools/package.py
+++ b/var/spack/repos/builtin/packages/samtools/package.py
@@ -33,6 +33,7 @@ class Samtools(Package):
homepage = "www.htslib.org"
url = "https://github.com/samtools/samtools/releases/download/1.3.1/samtools-1.3.1.tar.bz2"
+ version('1.7', '2240175242b5183bfa6baf1483f68023')
version('1.6', 'b756f05fd5d1a7042074417edb8c9aea')
version('1.4', '8cbd7d2a0ec16d834babcd6c6d85d691')
version('1.3.1', 'a7471aa5a1eb7fc9cc4c6491d73c2d88')
@@ -40,9 +41,12 @@ class Samtools(Package):
depends_on('ncurses')
# htslib became standalone @1.3.1, must use corresponding version
+ depends_on('htslib@1.7', when='@1.7')
depends_on('htslib@1.6', when='@1.6')
depends_on('htslib@1.4', when='@1.4')
depends_on('htslib@1.3.1', when='@1.3.1')
+ depends_on('zlib', when='@1.7:')
+ depends_on('bzip2', when='@1.7:')
def install(self, spec, prefix):
if self.spec.version >= Version('1.3.1'):