Samtools depends on htslib from 1.3.1 onward

Samtools used to (before 1.3.1) include it's own copy of htslib.  Going
forward, it needs to use the standalone htslib.
This commit is contained in:
George Hartzell 2016-08-05 17:47:11 -04:00
parent d6dedee6ff
commit 769408130a

View File

@ -37,8 +37,8 @@ class Samtools(Package):
version('1.2', '988ec4c3058a6ceda36503eebecd4122')
depends_on("ncurses")
depends_on("htslib", when='@1.3.1') # htslib became standalone
depends_on('zlib', when='@1.2') # needed for builtin htslib
depends_on("htslib", when='@1.3.1:') # htslib became standalone
depends_on('zlib', when='@1.2') # needed for builtin htslib
def install(self, spec, prefix):
if self.spec.version >= Version('1.3.1'):