Update/samtools (#3595)

* Update samtools family to 1.4

* simple cleanup

* Make bzip depends_on for future versions too
This commit is contained in:
George Hartzell 2017-03-28 19:34:41 -07:00 committed by Adam J. Stewart
parent 70ec06949c
commit d6cbae81c7
3 changed files with 5 additions and 0 deletions

View file

@ -34,9 +34,11 @@ class Bcftools(Package):
homepage = "http://samtools.github.io/bcftools/"
url = "https://github.com/samtools/bcftools/releases/download/1.3.1/bcftools-1.3.1.tar.bz2"
version('1.4', '50ccf0a073bd70e99cdb3c8be830416e')
version('1.3.1', '575001e9fca37cab0c7a7287ad4b1cdb')
depends_on('zlib')
depends_on('bzip2', when="@1.4:")
def install(self, spec, prefix):
make("prefix=%s" % prefix, "all")

View file

@ -31,6 +31,8 @@ class Htslib(AutotoolsPackage):
homepage = "https://github.com/samtools/htslib"
url = "https://github.com/samtools/htslib/releases/download/1.3.1/htslib-1.3.1.tar.bz2"
version('1.4', '2a22ff382654c033c40e4ec3ea880050')
version('1.3.1', '16d78f90b72f29971b042e8da8be6843')
depends_on('zlib')
depends_on('bzip2', when="@1.4:")

View file

@ -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.4', '8cbd7d2a0ec16d834babcd6c6d85d691')
version('1.3.1', 'a7471aa5a1eb7fc9cc4c6491d73c2d88')
version('1.2', '988ec4c3058a6ceda36503eebecd4122')