Add a new version and runtime dependency for MotionCor2. (#6817)

* Update motioncor2 to 1.0.4 and add libtiff dependency.

* Add comments for libtiff dependency in MotionCor2.
This commit is contained in:
健美猫 2018-01-04 00:03:35 +08:00 committed by Adam J. Stewart
parent ec2c0b3e65
commit ce317674bf

View File

@ -38,11 +38,14 @@ class Motioncor2(Package):
homepage = "http://msg.ucsf.edu/em/software" homepage = "http://msg.ucsf.edu/em/software"
url = "http://msg.ucsf.edu/MotionCor2/MotionCor2-1.0.2.tar.gz" url = "http://msg.ucsf.edu/MotionCor2/MotionCor2-1.0.2.tar.gz"
version('1.0.4', '5fc0a35d9518b2df17104187dab63fc6')
version('1.0.2', 'f2f4c5b09170ab8480ca657f14cdba2b') version('1.0.2', 'f2f4c5b09170ab8480ca657f14cdba2b')
version('1.0.1', '73d94a80abdef9bf37bbc80fbbe76622') version('1.0.1', '73d94a80abdef9bf37bbc80fbbe76622')
version('1.0.0', '490f4df8daa9f5ddb9eec3962ba3ddf5') version('1.0.0', '490f4df8daa9f5ddb9eec3962ba3ddf5')
depends_on('cuda@8.0:8.99', type='run') depends_on('cuda@8.0:8.99', type='run')
# libtiff.so.3 is required
depends_on('libtiff@3.0:3.99', type='run')
def install(self, spec, prefix): def install(self, spec, prefix):
mkdirp(prefix.bin) mkdirp(prefix.bin)