summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-10-25 03:20:42 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2017-10-25 12:20:42 +0200
commitff031de800080a4c563022b6f28c9b0ea38d9694 (patch)
treea6925938de88cff45cb3a8aeba5f1cafe63cae73 /var
parent9947306c3e15f91abb7b161b38840f184c192925 (diff)
downloadspack-ff031de800080a4c563022b6f28c9b0ea38d9694.tar.gz
spack-ff031de800080a4c563022b6f28c9b0ea38d9694.tar.bz2
spack-ff031de800080a4c563022b6f28c9b0ea38d9694.tar.xz
spack-ff031de800080a4c563022b6f28c9b0ea38d9694.zip
Add old version to bcftools (#5907)
* bcftools v1.2 and htslib v1.2 * dependency change - only require dependencies for v1.2
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/bcftools/package.py2
-rw-r--r--var/spack/repos/builtin/packages/htslib/package.py7
2 files changed, 9 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/bcftools/package.py b/var/spack/repos/builtin/packages/bcftools/package.py
index cbc33b1004..bcc7e0e808 100644
--- a/var/spack/repos/builtin/packages/bcftools/package.py
+++ b/var/spack/repos/builtin/packages/bcftools/package.py
@@ -37,10 +37,12 @@ class Bcftools(Package):
version('1.6', 'c4dba1e8cb55db0f94b4c47724b4f9fa')
version('1.4', '50ccf0a073bd70e99cdb3c8be830416e')
version('1.3.1', '575001e9fca37cab0c7a7287ad4b1cdb')
+ version('1.2', '8044bed8fce62f7072fc6835420f0906')
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('htslib@1.2', when='@1.2')
def install(self, spec, prefix):
make("prefix=%s" % prefix, "all")
diff --git a/var/spack/repos/builtin/packages/htslib/package.py b/var/spack/repos/builtin/packages/htslib/package.py
index e61da166f5..7fdc79406e 100644
--- a/var/spack/repos/builtin/packages/htslib/package.py
+++ b/var/spack/repos/builtin/packages/htslib/package.py
@@ -34,7 +34,14 @@ class Htslib(AutotoolsPackage):
version('1.6', 'd6fd14e208aca7e08cbe9072233d0af9')
version('1.4', '2a22ff382654c033c40e4ec3ea880050')
version('1.3.1', '16d78f90b72f29971b042e8da8be6843')
+ version('1.2', '64026d659c3b062cfb6ddc8a38e9779f',
+ url='https://github.com/samtools/htslib/archive/1.2.tar.gz')
depends_on('zlib')
depends_on('bzip2', when="@1.4:")
depends_on('xz', when="@1.4:")
+
+ depends_on('m4', when="@1.2")
+ depends_on('autoconf', when="@1.2")
+ depends_on('automake', when="@1.2")
+ depends_on('libtool', when="@1.2")