samtools: add version 1.6 + some fixes (#5715)

* htslib: add version 1.6

* samtools: add version 1.6, remove zlib dependency

* bcftools: add version 1.6, switch to using standalone htslib
This commit is contained in:
Carlos Bederián
2017-10-12 13:08:31 -03:00
committed by Christoph Junghans
parent 87c65fafa9
commit db149876a4
3 changed files with 11 additions and 9 deletions

View File

@@ -33,15 +33,16 @@ 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.6', 'b756f05fd5d1a7042074417edb8c9aea')
version('1.4', '8cbd7d2a0ec16d834babcd6c6d85d691')
version('1.3.1', 'a7471aa5a1eb7fc9cc4c6491d73c2d88')
version('1.2', '988ec4c3058a6ceda36503eebecd4122')
depends_on("ncurses")
depends_on('ncurses')
# htslib became standalone @1.3.1, must use corresponding version
depends_on("htslib@1.4", when='@1.4')
depends_on("htslib@1.3.1", when='@1.3.1')
depends_on('zlib', when='@1.2') # needed for builtin htslib
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')
def install(self, spec, prefix):
if self.spec.version >= Version('1.3.1'):