Add version 2.19.1.403 to bcl2fastq2 package (#5047)

* Update bcl2fastq2 with info for 2.19.1.403

Heads up, the download location changed (domain name AND protocol).

* Flake8 fix

What's one space between friends?
This commit is contained in:
George Hartzell 2017-08-09 20:17:34 -07:00 committed by Adam J. Stewart
parent 5bb86ce964
commit c6cd447a8a

View File

@ -37,8 +37,8 @@ class Bcl2fastq2(Package):
files."""
homepage = "https://support.illumina.com/downloads/bcl2fastq-conversion-software-v2-18.html"
url = "https://support.illumina.com/content/dam/illumina-support/documents/downloads/software/bcl2fastq/bcl2fastq2-v2-18-0-12-tar.zip"
version('2.19.1.403', 'baba7a02767fd868e87cb36781d2be26')
version('2.18.0.12', 'fbe06492117f65609c41be0c27e3215c')
# 2.17.1.14 is no longer distributed. If you have a copy of the
# source tarball, you can drop it into a local mirror w/ the name
@ -61,9 +61,16 @@ class Bcl2fastq2(Package):
root_cmakelists_dir = 'src'
# v2.17.1.14 and v2.18.0.12 were available via HTTP.
# v2.19.1.403 is only available via ftp.
# who knows what the future will hold.
def url_for_version(self, version):
url = "https://support.illumina.com/content/dam/illumina-support/documents/downloads/software/bcl2fastq/bcl2fastq2-v{0}-tar.zip"
return url.format(version.dashed)
if version.string == '2.19.1.403':
return "ftp://webdata2:webdata2@ussd-ftp.illumina.com/downloads/software/bcl2fastq/bcl2fastq2-v2.19.1-tar.zip"
else:
url = "https://support.illumina.com/content/dam/illumina-support/documents/downloads/software/bcl2fastq/bcl2fastq2-v{0}-tar.zip"
# - required to change the version from dots to dashes.
return url.format(version.dashed)
# Illumina tucks the source inside a gzipped tarball inside a zip
# file. We let the normal Spack expansion bit unzip the zip file,