switching downloads to git (#5659)

This commit is contained in:
Audrey Thoma 2017-10-09 18:07:13 -05:00 committed by Christoph Junghans
parent 196b82f2c7
commit a8cd92a2e4

View File

@ -31,26 +31,25 @@ class Fastqvalidator(MakefilePackage):
homepage = "http://genome.sph.umich.edu/wiki/FastQValidator" homepage = "http://genome.sph.umich.edu/wiki/FastQValidator"
url = "https://github.com/statgen/fastQValidator/archive/v0.1.1a.tar.gz" url = "https://github.com/statgen/fastQValidator/archive/v0.1.1a.tar.gz"
version('0.1.1a', '5c5de69527020b72b64f32987409bd12') version('2017-01-10', commit='6d619a34749e9d33c34ef0d3e0e87324ca77f320',
git='https://github.com/statgen/fastQValidator.git')
conflicts('%gcc@7:', when='@0.1.1a') # statgen/fastQValidator#14
resource( resource(
name='libStatGen', name='libStatGen',
url='https://github.com/statgen/libStatGen/archive/v1.0.14.tar.gz', git='https://github.com/statgen/libStatGen.git',
sha256='70a504c5cc4838c6ac96cdd010644454615cc907df4e3794c999baf958fa734b', commit='9db9c23e176a6ce6f421a3c21ccadedca892ac0c'
) )
@property @property
def build_targets(self): def build_targets(self):
return ['LIB_PATH_GENERAL={0}'.format( return ['LIB_PATH_GENERAL={0}'.format(
join_path(self.stage.source_path, 'libStatGen-1.0.14'))] join_path(self.stage.source_path, 'libStatGen'))]
@property @property
def install_targets(self): def install_targets(self):
return [ return [
'INSTALLDIR={0}'.format(self.prefix.bin), 'INSTALLDIR={0}'.format(self.prefix.bin),
'LIB_PATH_GENERAL={0}'.format( 'LIB_PATH_GENERAL={0}'.format(
join_path(self.stage.source_path, 'libStatGen-1.0.14')), join_path(self.stage.source_path, 'libStatGen')),
'install' 'install'
] ]