Fix bwa url's (#4366)

* Fix bwa url's

Work around varying github URLs.

See #4365 for details.

* Restore main url entry

@adamjstewart pointed out that the package still needs a main url
so that `spack versions` works.
This commit is contained in:
George Hartzell 2017-05-26 20:08:00 -07:00 committed by Adam J. Stewart
parent c0fff6722d
commit 248fc92a45

View File

@ -31,7 +31,8 @@ class Bwa(Package):
homepage = "http://github.com/lh3/bwa"
url = "https://github.com/lh3/bwa/releases/download/v0.7.15/bwa-0.7.15.tar.bz2"
version('0.7.15', 'fcf470a46a1dbe2f96a1c5b87c530554')
version('0.7.15', 'fcf470a46a1dbe2f96a1c5b87c530554',
url="https://github.com/lh3/bwa/releases/download/v0.7.15/bwa-0.7.15.tar.bz2")
version('0.7.12', 'e24a587baaad411d5da89516ad7a261a',
url='https://github.com/lh3/bwa/archive/0.7.12.tar.gz')