summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorRicardo Silva <ricardo.d.silva@gmail.com>2018-10-15 20:09:00 +0200
committerPeter Scheibel <scheibel1@llnl.gov>2018-10-15 11:09:00 -0700
commit24865fccdc70749d4174b819d14c9d45115d7e7b (patch)
tree39a130c7c00954d93ed420139ae90088f1cfffbb /var
parent3a2088b4f7038d559da58462b9d5d14a7dd7d9a5 (diff)
downloadspack-24865fccdc70749d4174b819d14c9d45115d7e7b.tar.gz
spack-24865fccdc70749d4174b819d14c9d45115d7e7b.tar.bz2
spack-24865fccdc70749d4174b819d14c9d45115d7e7b.tar.xz
spack-24865fccdc70749d4174b819d14c9d45115d7e7b.zip
sra-toolkit: new version and preserve symlinks (#9525)
Before this, the same files were copied 3 times
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/sra-toolkit/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/sra-toolkit/package.py b/var/spack/repos/builtin/packages/sra-toolkit/package.py
index d2dfd34681..10a81db23f 100644
--- a/var/spack/repos/builtin/packages/sra-toolkit/package.py
+++ b/var/spack/repos/builtin/packages/sra-toolkit/package.py
@@ -33,13 +33,14 @@ class SraToolkit(Package):
homepage = "https://trace.ncbi.nlm.nih.gov/Traces/sra"
url = "https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.8.2-1/sratoolkit.2.8.2-1-centos_linux64.tar.gz"
- version('2.8.2-1', '3a2910754aea71aba5662804efff2a68')
+ version('2.9.2', sha256='17dbe13aa1ed7955d31e1e76e8b62786e80a77e9ed9d396631162dc3ad8b716d')
+ version('2.8.2-1', sha256='b053061aae7c6d00162fe0f514be4128a60365b4b2b5b36e7f4798b348b55cf5')
def url_for_version(self, version):
url = 'https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/{0}/sratoolkit.{0}-centos_linux64.tar.gz'
return url.format(version)
def install(self, spec, prefix):
- install_tree('bin', prefix.bin)
+ install_tree('bin', prefix.bin, symlinks=True)
install_tree('example', prefix.example)
install_tree('schema', prefix.schema)