summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-08-09 20:17:34 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2017-08-09 22:17:34 -0500
commitc6cd447a8a7fb6b0a143f2ef9503a4edfd770d44 (patch)
tree6b25aa4aa1f3d7939b118f4885a5565ada71e7db
parent5bb86ce9643fdf86c76a1d03499113372ce72e3b (diff)
downloadspack-c6cd447a8a7fb6b0a143f2ef9503a4edfd770d44.tar.gz
spack-c6cd447a8a7fb6b0a143f2ef9503a4edfd770d44.tar.bz2
spack-c6cd447a8a7fb6b0a143f2ef9503a4edfd770d44.tar.xz
spack-c6cd447a8a7fb6b0a143f2ef9503a4edfd770d44.zip
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?
-rw-r--r--var/spack/repos/builtin/packages/bcl2fastq2/package.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/bcl2fastq2/package.py b/var/spack/repos/builtin/packages/bcl2fastq2/package.py
index 7af1815757..64060c2b9b 100644
--- a/var/spack/repos/builtin/packages/bcl2fastq2/package.py
+++ b/var/spack/repos/builtin/packages/bcl2fastq2/package.py
@@ -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,