htslib depends_on version must match samtools (#3625)

This commit is contained in:
George Hartzell 2017-03-29 12:20:37 -07:00 committed by Adam J. Stewart
parent 46251eb559
commit 259cc02260

View File

@ -38,7 +38,9 @@ class Samtools(Package):
version('1.2', '988ec4c3058a6ceda36503eebecd4122')
depends_on("ncurses")
depends_on("htslib", when='@1.3.1:') # htslib became standalone
# 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
def install(self, spec, prefix):